@atlaskit/editor-plugin-quick-insert
Version:
Quick insert plugin for @atlaskit/editor-core
18 lines (17 loc) • 612 B
TypeScript
/**
* @jsxRuntime classic
* @jsx jsx
*/
import React from 'react';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { QuickInsertPlugin } from '../quickInsertPluginType';
type Props = {
api: ExtractInjectionAPI<QuickInsertPlugin>;
openTypeAhead: () => void;
reserveDragHandleSpace?: boolean;
start: number;
view: EditorView;
};
export declare const BlockControlQuickInsertButton: ({ api, openTypeAhead, reserveDragHandleSpace, start, view, }: Props) => React.JSX.Element;
export {};