UNPKG

@atlaskit/editor-plugin-block-type

Version:

BlockType plugin for @atlaskit/editor-core

15 lines (14 loc) • 602 B
/** * @jsxRuntime classic * @jsx jsx */ import React from 'react'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { BlockMenuItemComponentProps } from '@atlaskit/editor-plugin-block-menu/blockMenuPluginType'; import type { BlockTypePlugin } from '../blockTypePluginType'; type QuoteBlockMenuItemProps = { api: ExtractInjectionAPI<BlockTypePlugin> | undefined; isSuggested?: boolean; }; export declare const createQuoteBlockMenuItem: ({ api }: QuoteBlockMenuItemProps) => ({ isSuggested }?: BlockMenuItemComponentProps) => React.JSX.Element; export {};