UNPKG

@atlaskit/editor-plugin-annotation

Version:

Annotation plugin for @atlaskit/editor-core

6 lines (5 loc) • 446 B
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types/next-editor-plugin'; import type { RegisterComponent } from '@atlaskit/editor-toolbar-model/types'; import type { AnnotationPlugin } from '../annotationPluginType'; import type { AnnotationProviders } from '../types'; export declare const getToolbarComponents: (api?: ExtractInjectionAPI<AnnotationPlugin>, annotationProviders?: AnnotationProviders) => RegisterComponent[];