@wordpress/components
Version:
UI components for WordPress.
16 lines (12 loc) • 289 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
);
export default ToolbarContext;