@atlaskit/editor-plugin-mentions
Version:
Mentions plugin for @atlaskit/editor-core
14 lines (13 loc) • 682 B
TypeScript
import React from 'react';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin';
import type { TypeAheadHandler } from '@atlaskit/editor-common/types/type-ahead';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { MentionsPlugin } from '../mentionsPluginType';
interface SecondaryToolbarComponentProps {
api: ExtractInjectionAPI<MentionsPlugin> | undefined;
disabled: boolean;
editorView: EditorView;
typeAhead: TypeAheadHandler;
}
export declare function SecondaryToolbarComponent({ editorView, api, typeAhead, disabled, }: SecondaryToolbarComponentProps): React.JSX.Element | null;
export {};