slate-devtools
Version:
`slate-devtools` as name suggests it is devtool for [slatejs](https://github.com/ianstormtaylor/slate) which will assist you in debugging the code
17 lines • 603 B
TypeScript
import { Node } from "slate";
import { ReactEditor } from "slate-react";
import { CSSProperties } from "react";
import { DevtoolsEditor } from "../plugins/withDevtools";
export declare type DevtoolsProps = {
value: Node[];
editor: ReactEditor & DevtoolsEditor;
module?: {
[index: string]: unknown;
};
open?: boolean;
height?: string;
style?: CSSProperties;
type?: string;
};
export declare const Devtools: ({ value, editor, module, open, height, style, type, }: DevtoolsProps) => import("react").ReactPortal;
//# sourceMappingURL=devtools.d.ts.map