UNPKG

@wordpress/components

Version:
9 lines (8 loc) • 495 B
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