UNPKG

@atlaskit/editor-plugin-block-type

Version:

BlockType plugin for @atlaskit/editor-core

9 lines (8 loc) 392 B
import React from 'react'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { BlockTypePlugin } from '../blockTypePluginType'; type ParagraphBlockMenuItemProps = { api: ExtractInjectionAPI<BlockTypePlugin> | undefined; }; export declare const createParagraphBlockMenuItem: ({ api }: ParagraphBlockMenuItemProps) => () => React.JSX.Element; export {};