@atlaskit/editor-plugin-block-type
Version:
BlockType plugin for @atlaskit/editor-core
5 lines (4 loc) • 357 B
TypeScript
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { RegisterBlockMenuComponent } from '@atlaskit/editor-plugin-block-menu';
import type { BlockTypePlugin } from '../blockTypePluginType';
export declare const getBlockTypeComponents: (api: ExtractInjectionAPI<BlockTypePlugin> | undefined) => RegisterBlockMenuComponent[];