@atlaskit/editor-plugin-panel
Version:
Panel plugin for @atlaskit/editor-core.
6 lines (5 loc) • 435 B
TypeScript
import React from 'react';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { BlockMenuItemComponentProps } from '@atlaskit/editor-plugin-block-menu/blockMenuPluginType';
import type { PanelPlugin } from '../panelPluginType';
export declare const createPanelBlockMenuItem: (api: ExtractInjectionAPI<PanelPlugin> | undefined) => ({ isSuggested }?: BlockMenuItemComponentProps) => React.JSX.Element;