UNPKG

@data-driven-forms/react-form-renderer

Version:

React Form Renderer. Data Driven Forms converts JSON form definitions into fully functional React forms.

8 lines (5 loc) 386 B
import { Field } from "../common-types"; import { ConditionDefinition } from "../condition"; import { ConditionMapper } from "../form-renderer/condition-mapper"; declare function getConditionTriggers(params:ConditionDefinition | ConditionDefinition[], field: Extract<Field, 'condition' | 'hideField'>, conditionMapper: ConditionMapper): string[]; export default getConditionTriggers;