@atlaskit/editor-plugin-block-menu
Version:
BlockMenu plugin for @atlaskit/editor-core
17 lines (16 loc) • 746 B
TypeScript
import React from 'react';
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { BlockMenuPlugin } from '../blockMenuPluginType';
export type BlockMenuProps = {
api: ExtractInjectionAPI<BlockMenuPlugin> | undefined;
boundariesElement?: HTMLElement;
editorView: EditorView | undefined;
mountTo?: HTMLElement;
scrollableElement?: HTMLElement;
};
declare const _default_1: React.FC<WithIntlProps<BlockMenuProps & WrappedComponentProps>> & {
WrappedComponent: React.ComponentType<BlockMenuProps & WrappedComponentProps>;
};
export default _default_1;