UNPKG

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

13 lines 570 B
import { Node, Path } from "slate"; /** * selectedProperties stores result from either selecting a property from DevSlate or * after a valid serach from `serach by path` */ declare type SelectedProperties = { node: Node; path: Path; }; export declare const useSelectedProperties: () => [SelectedProperties, (update: import("jotai/core/types").SetStateAction<SelectedProperties>) => void | Promise<void>]; export declare const useSelectedPropertiesRead: () => [SelectedProperties, never]; export {}; //# sourceMappingURL=selectedProperties.d.ts.map