UNPKG

@atlaskit/editor-plugin-panel

Version:

Panel plugin for @atlaskit/editor-core.

12 lines (11 loc) • 595 B
import type { IntlShape } from 'react-intl'; import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics/api'; import type { Command } from '@atlaskit/editor-common/types/command'; import type { FloatingToolbarDropdown } from '@atlaskit/editor-common/types/floating-toolbar'; type Props = { activePanelType?: string; editorAnalyticsAPI: EditorAnalyticsAPI | undefined; formatMessage: IntlShape['formatMessage']; }; export declare const panelTypeDropdown: ({ activePanelType, editorAnalyticsAPI, formatMessage, }: Props) => FloatingToolbarDropdown<Command>; export {};