Skip to main content

ConsequentTypeOption<N>

ConsequentTypeOption<N> = Simplify<Option<N> & { properties?: ConsequentPropertyDef[]; }>

Defined in: rules-engine/src/types/rulesEngine.ts:157

A consequent type option that may carry editable property definitions. Pass an array of these as the consequentTypes prop (or from getConsequentTypes) to enable the built-in property editor. Only name (the identifier stored as the consequent's type) and label are required; see FullConsequentTypeOption for the resolved form used internally.

Type Parameters

Type ParameterDefault type
N extends stringstring

caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.