UNPKG

react-forminate

Version:

React.js + Typescript package that creates dynamic UI forms based on the JSON schema

11 lines (10 loc) 297 B
type Identifier = string; type Callback = () => void; export declare class Observer { private subscribers; subscribe(fieldId: Identifier, callback: Callback): () => void; notify(fieldId: Identifier): void; unsubscribeAll(fieldId: Identifier): void; clear(): void; } export {};