UNPKG

@atlaskit/editor-plugin-annotation

Version:

Annotation plugin for @atlaskit/editor-core

16 lines (15 loc) 852 B
import React from 'react'; import type { DispatchAnalyticsEvent, EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { EditorView } from '@atlaskit/editor-prosemirror/view'; import type { AnnotationPlugin } from '../annotationPluginType'; import { type AnnotationProviders } from '../types'; interface InlineCommentViewProps { dispatchAnalyticsEvent?: DispatchAnalyticsEvent; editorAnalyticsAPI: EditorAnalyticsAPI | undefined; editorAPI: ExtractInjectionAPI<AnnotationPlugin> | undefined; editorView: EditorView; providers: AnnotationProviders; } export declare function InlineCommentView({ providers, editorView, editorAnalyticsAPI, editorAPI, dispatchAnalyticsEvent, }: InlineCommentViewProps): React.JSX.Element | null; export {};