UNPKG

@atlaskit/editor-plugin-selection-extension

Version:

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

12 lines (11 loc) 619 B
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { RegisterComponent } from '@atlaskit/editor-toolbar-model'; import type { SelectionExtensionPlugin } from '../selectionExtensionPluginType'; import type { SelectionExtensionPluginOptions } from '../types'; type GetToolbarComponentsProps = { api: ExtractInjectionAPI<SelectionExtensionPlugin> | undefined; config: SelectionExtensionPluginOptions | undefined; }; type GetToolbarComponents = (props: GetToolbarComponentsProps) => RegisterComponent[]; export declare const getToolbarComponents: GetToolbarComponents; export {};