1 | import React from 'react';
|
2 | import { Descendant, Selection } from 'slate';
|
3 | import { ReactEditor } from '../plugin/react-editor';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare const Slate: (props: {
|
9 | editor: ReactEditor;
|
10 | initialValue: Descendant[];
|
11 | children: React.ReactNode;
|
12 | onChange?: ((value: Descendant[]) => void) | undefined;
|
13 | onSelectionChange?: ((selection: Selection) => void) | undefined;
|
14 | onValueChange?: ((value: Descendant[]) => void) | undefined;
|
15 | }) => React.JSX.Element;
|
16 |
|
\ | No newline at end of file |