This commit is contained in:
12
node_modules/slate-react/dist/hooks/use-slate-static.d.ts
generated
vendored
Normal file
12
node_modules/slate-react/dist/hooks/use-slate-static.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
/// <reference types="react" />
|
||||
import { ReactEditor } from '../plugin/react-editor';
|
||||
import { Editor } from 'slate';
|
||||
/**
|
||||
* A React context for sharing the editor object.
|
||||
*/
|
||||
export declare const EditorContext: import("react").Context<ReactEditor | null>;
|
||||
/**
|
||||
* Get the current editor object from the React context.
|
||||
*/
|
||||
export declare const useSlateStatic: () => Editor;
|
||||
//# sourceMappingURL=use-slate-static.d.ts.map
|
||||
Reference in New Issue
Block a user