UNPKG

@atlaskit/editor-plugin-type-ahead

Version:

Type-ahead plugin for @atlaskit/editor-core

13 lines (12 loc) 598 B
import React from 'react'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { EditorView } from '@atlaskit/editor-prosemirror/view'; import type { TypeAheadPlugin } from '../typeAheadPluginType'; import type { PopupMountPointReference } from '../types'; interface ContentComponentProps { api: ExtractInjectionAPI<TypeAheadPlugin> | undefined; editorView: EditorView; popupMountRef: PopupMountPointReference; } export declare function ContentComponent({ api, editorView, popupMountRef, }: ContentComponentProps): React.JSX.Element | null; export {};