UNPKG

@atlaskit/editor-plugin-block-type

Version:

BlockType plugin for @atlaskit/editor-core

6 lines (5 loc) • 472 B
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { RegisterBlockMenuComponent } from '@atlaskit/editor-plugin-block-menu'; import type { BlockTypePlugin } from '../blockTypePluginType'; import type { TextFormattingBlockMenuOptions } from './types'; export declare const getBlockTypeComponents: (api: ExtractInjectionAPI<BlockTypePlugin> | undefined, { allowFontSize }?: TextFormattingBlockMenuOptions) => RegisterBlockMenuComponent[];