@atlaskit/editor-plugin-alignment
Version:
Alignment plugin for @atlaskit/editor-core
16 lines (15 loc) • 780 B
TypeScript
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 PrimaryToolbarComponentProps {
api: ExtractInjectionAPI<AlignmentPlugin> | undefined;
disabled: boolean;
editorView: EditorView;
isToolbarReducedSpacing: boolean;
popupsBoundariesElement?: HTMLElement;
popupsMountPoint?: HTMLElement;
popupsScrollableElement?: HTMLElement;
}
export declare function PrimaryToolbarComponent({ api, editorView, disabled, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, isToolbarReducedSpacing, }: PrimaryToolbarComponentProps): React.JSX.Element;
export {};