FlexibleOption<N>
FlexibleOption<
N
>:WithUnknownIndex
<RequireAtLeastOne
<BaseOption
<N
>,"name"
|"value"
>>
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 translated
to FullOption first.
Type Parameters
Type Parameter | Default type |
---|---|
N extends string | string |
Defined in
packages/react-querybuilder/src/types/options.ts:56
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.