SelectArea
The Select Area component is a wrapper for a selection interaction, which stretches to fill the dimensions of its parent element. The parent is responsible for using the selection value to identify what children elements fall inside the selection.
| name | type | required | comment |
|---|---|---|---|
children | ReactNode | ReactNode[] | yes | the |
ariaLabel | string | no | |
className | string | no | |
onSelectionChange | (selection: Selection) => void | no | |
onSelectionEnd | (e: PointerEvent<Element>) => void | no | |
onSelectionStart | (e: PointerEvent<Element>) => void | no | |
role | AriaRole | no | |
style | CSSProperties | no |
Result
Loading...
Live Editor