@wordpress/components
Version:
UI components for WordPress.
20 lines (19 loc) • 703 B
JavaScript
/**
* Composite is a component that may contain navigable items represented by
* CompositeItem. It's inspired by the WAI-ARIA Composite Role and implements
* all the keyboard navigation mechanisms to ensure that there's only one
* tab stop for the whole Composite element. This means that it can behave as
* a roving tabindex or aria-activedescendant container.
*
* @see https://reakit.io/docs/composite/
*
* The plan is to build own API that accounts for future breaking changes
* in Reakit (https://github.com/WordPress/gutenberg/pull/28085).
*/
/* eslint-disable-next-line no-restricted-imports */
export {
Composite,
CompositeGroup,
CompositeItem,
useCompositeState,
} from 'reakit';