Function: FocusGroup()
FocusGroup(
props):Element
Defined in: src/widgets/utility/focusGroup.tsx:19
Utility component to implement accessible focus container.
The root component acts as focus group
with pre-defined methods to provide keyboard navigation between items (e.g. with arrow keys)
and Tab key to move focus to/from container or within currently focused item
(if a group item has multiple focusable children).
Parameters
| Parameter | Type | Description |
|---|---|---|
| { | ‐ |
| ( | Render function for children content with focusable items. Focusable group root *must use provided FocusGroupProvidedProps.ref ref to properly maintain the focusable state. |
Returns
Element