UNPKG

react-forminate

Version:

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

5 lines (4 loc) 375 B
import { DynamicOptionsCache, SelectFieldType } from '../types'; export declare const getFieldCache: (field: SelectFieldType) => DynamicOptionsCache; export declare const shouldRefetchOptions: (field: SelectFieldType, currentValues: Record<string, any>) => boolean; export declare const updateFieldCache: (field: SelectFieldType, currentValues: Record<string, any>) => void;