UNPKG

@wordpress/components

Version:
10 lines (7 loc) • 268 B
import type * as Ariakit from '@ariakit/react'; import { createContext } from '@wordpress/element'; const ToolbarContext = createContext< Ariakit.ToolbarStore | undefined >( undefined ); ToolbarContext.displayName = 'ToolbarContext'; export default ToolbarContext;