FlexibleOption<N>
FlexibleOption<
N> =Simplify<WithUnknownIndex<RequireAtLeastOne<BaseOption<N>,"name"|"value">>>
Defined in: packages/core/src/types/options.ts:88
A generic Option with either a name or value as its primary identifier.
OptionList-type props on the QueryBuilder component accept this type,
but corresponding props passed down to subcomponents will always be augmented
to FullOption first.
Type Parameters
| Type Parameter | Default type |
|---|---|
N extends string | string |
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.