UNPKG

@atlaskit/editor-plugin-mentions

Version:

Mentions plugin for @atlaskit/editor-core

13 lines (12 loc) 599 B
import React from 'react'; import type { ExtractInjectionAPI, TypeAheadHandler } from '@atlaskit/editor-common/types'; 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 {};