This commit is contained in:
14
node_modules/slate-react/dist/components/slate.d.ts
generated
vendored
Normal file
14
node_modules/slate-react/dist/components/slate.d.ts
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
import React from 'react';
|
||||
import { Descendant } from 'slate';
|
||||
import { ReactEditor } from '../plugin/react-editor';
|
||||
/**
|
||||
* A wrapper around the provider to handle `onChange` events, because the editor
|
||||
* is a mutable singleton so it won't ever register as "changed" otherwise.
|
||||
*/
|
||||
export declare const Slate: (props: {
|
||||
editor: ReactEditor;
|
||||
value: Descendant[];
|
||||
children: React.ReactNode;
|
||||
onChange?: ((value: Descendant[]) => void) | undefined;
|
||||
}) => JSX.Element;
|
||||
//# sourceMappingURL=slate.d.ts.map
|
||||
Reference in New Issue
Block a user