UNPKG

@canard/schema-form

Version:

React-based component library that renders forms based on JSON Schema with plugin system support for validators and UI components

9 lines (8 loc) 321 B
import { type SchemaNode } from '../core'; /** * Hook for retrieving schema nodes. * Takes a node instance or path and returns the corresponding node. * @param input - Node object or path string * @returns Found node or null */ export declare const useSchemaNode: (input?: SchemaNode | string) => SchemaNode | null;