clickable-json
Version:
Interactive JSON and JSON CRDT viewer and editor
6 lines (5 loc) • 357 B
TypeScript
import type { JsonNode } from 'json-joy/lib/json-crdt';
import type { NodeRef } from './NodeRef';
export declare const useNodeApi: <N extends JsonNode>(node: NodeRef<N>) => import("json-joy/lib/json-crdt").NodeApi<JsonNode<unknown>>;
export declare const useRerender: (node: NodeRef<JsonNode>) => unknown;
export declare const useRerenderModel: () => void;