@undermuz/react-json-form
Version:
Generate JSON-based forms with react
11 lines (8 loc) • 333 B
TypeScript
import * as react from 'react';
type ContextIdValue = {
lastId: number;
};
declare const ContextId: react.Context<ContextIdValue>;
declare const useJsonFormIdValue: () => ContextIdValue;
declare const useJsonFormUniqId: () => number;
export { ContextIdValue, ContextId as default, useJsonFormIdValue, useJsonFormUniqId };