UNPKG

@atlaskit/editor-plugin-expand

Version:

Expand plugin for @atlaskit/editor-core

6 lines (5 loc) 428 B
import React from 'react'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { BlockMenuItemComponentProps } from '@atlaskit/editor-plugin-block-menu/blockMenuPluginType'; import type { ExpandPlugin } from '../types'; export declare const createExpandBlockMenuItem: (api: ExtractInjectionAPI<ExpandPlugin> | undefined) => ({ isSuggested }?: BlockMenuItemComponentProps) => React.JSX.Element;