UNPKG

479 BTypeScriptView Raw
1import { BaseEditor } from 'slate';
2import { ReactEditor } from './react-editor';
3/**
4 * `withReact` adds React and DOM specific behaviors to the editor.
5 *
6 * If you are using TypeScript, you must extend Slate's CustomTypes to use
7 * this plugin.
8 *
9 * See https://docs.slatejs.org/concepts/11-typescript to learn how.
10 */
11export declare const withReact: <T extends BaseEditor>(editor: T, clipboardFormatKey?: string) => T & ReactEditor;
12//# sourceMappingURL=with-react.d.ts.map
\No newline at end of file