This commit is contained in:
12
node_modules/slate-react/dist/plugin/with-react.d.ts
generated
vendored
Normal file
12
node_modules/slate-react/dist/plugin/with-react.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { BaseEditor } from 'slate';
|
||||
import { ReactEditor } from './react-editor';
|
||||
/**
|
||||
* `withReact` adds React and DOM specific behaviors to the editor.
|
||||
*
|
||||
* If you are using TypeScript, you must extend Slate's CustomTypes to use
|
||||
* this plugin.
|
||||
*
|
||||
* See https://docs.slatejs.org/concepts/11-typescript to learn how.
|
||||
*/
|
||||
export declare const withReact: <T extends BaseEditor>(editor: T, clipboardFormatKey?: string) => T & ReactEditor;
|
||||
//# sourceMappingURL=with-react.d.ts.map
|
||||
Reference in New Issue
Block a user