1 | import React from 'react';
|
2 | import { Descendant } from 'slate';
|
3 | import { ReactEditor } from '../plugin/react-editor';
|
4 | /**
|
5 | * A wrapper around the provider to handle `onChange` events, because the editor
|
6 | * is a mutable singleton so it won't ever register as "changed" otherwise.
|
7 | */
|
8 | export declare const Slate: (props: {
|
9 | editor: ReactEditor;
|
10 | value: Descendant[];
|
11 | children: React.ReactNode;
|
12 | onChange: (value: Descendant[]) => void;
|
13 | }) => JSX.Element;
|
14 | //# sourceMappingURL=slate.d.ts.map |
\ | No newline at end of file |