@wordpress/components
Version:
UI components for WordPress.
9 lines (8 loc) • 495 B
JavaScript
import { createContext, useContext } from "@wordpress/element";
// packages/components/src/tree-grid/roving-tab-index-context.ts
const RovingTabIndexContext = createContext(void 0);
RovingTabIndexContext.displayName = "RovingTabIndexContext";
const useRovingTabIndexContext = () => useContext(RovingTabIndexContext);
const RovingTabIndexProvider = RovingTabIndexContext.Provider;
export { RovingTabIndexProvider, useRovingTabIndexContext };
//# sourceMappingURL=roving-tab-index-context.mjs.map