UNPKG

@atlaskit/editor-plugin-selection-toolbar

Version:

@atlaskit/editor-plugin-selection-toolbar for @atlaskit/editor-core

19 lines (18 loc) 613 B
/** * @jsxRuntime classic * @jsx jsx * @jsxFrag */ import type { IntlShape } from 'react-intl'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { MenuItem } from '@atlaskit/editor-common/ui-menu'; import type { SelectionToolbarPlugin } from '../selectionToolbarPluginType'; type OverflowToobarConfigOptions = { api?: ExtractInjectionAPI<SelectionToolbarPlugin>; intl: IntlShape; toolbarDocking?: 'top' | 'none'; }; export declare const getOverflowPrimaryToolbarConfig: ({ api, intl, }: OverflowToobarConfigOptions) => { items: MenuItem[]; }[]; export {};