@wordpress/components
Version:
UI components for WordPress.
17 lines (13 loc) • 336 B
text/typescript
/**
* External dependencies
*/
import type * as Ariakit from '@ariakit/react';
/**
* WordPress dependencies
*/
import { createContext } from '@wordpress/element';
const ToolbarContext = createContext< Ariakit.ToolbarStore | undefined >(
undefined
);
ToolbarContext.displayName = 'ToolbarContext';
export default ToolbarContext;