@atlaskit/editor-plugin-panel
Version:
Panel plugin for @atlaskit/editor-core.
11 lines (10 loc) • 513 B
TypeScript
import type { IntlShape } from 'react-intl';
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
import type { Command, FloatingToolbarDropdown } from '@atlaskit/editor-common/types';
type Props = {
activePanelType?: string;
editorAnalyticsAPI: EditorAnalyticsAPI | undefined;
formatMessage: IntlShape['formatMessage'];
};
export declare const panelTypeDropdown: ({ activePanelType, editorAnalyticsAPI, formatMessage, }: Props) => FloatingToolbarDropdown<Command>;
export {};