@progress/kendo-react-editor
Version:
Kendo UI for React Editor package
13 lines (12 loc) • 519 B
TypeScript
import * as React from 'react';
import { EditorToolsSettings } from '../config/toolsSettings';
import { EditorState, Transaction } from '@progress/kendo-editor-common';
import { ToolProps } from './ToolProps';
/**
* @hidden
*/
export declare type ProseMirrorCommand = (state: EditorState, dispatch?: (tr: Transaction) => void) => boolean;
/**
* @hidden
*/
export declare const createProseMirrorTool: (settings: EditorToolsSettings.ToolSettings, command: ProseMirrorCommand) => React.ComponentClass<ToolProps, any>;