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
12 lines • 519 B
TypeScript
import { Node, Path } from "slate";
/**
* SearchedProperties hold result from `search by path`
*/
declare type SearchedProperties = {
node: Node;
path: Path;
};
export declare const useSearchedProperties: () => [SearchedProperties, (update: import("jotai/core/types").SetStateAction<SearchedProperties>) => void | Promise<void>];
export declare const useSearchedPropertiesSet: () => [null, (update: SearchedProperties) => void | Promise<void>];
export {};
//# sourceMappingURL=searchedPath.d.ts.map