UNPKG

@atlaskit/editor-plugin-alignment

Version:

Alignment plugin for @atlaskit/editor-core

11 lines (10 loc) 497 B
import React from 'react'; import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types'; import type { EditorView } from '@atlaskit/editor-prosemirror/view'; import type { AlignmentPlugin } from '../alignmentPluginType'; interface FloatingToolbarComponentProps { api: ExtractInjectionAPI<AlignmentPlugin> | undefined; editorView: EditorView; } export declare function FloatingToolbarComponent({ api, editorView, }: FloatingToolbarComponentProps): React.JSX.Element; export {};