useOptionListProp()
useOptionListProp<
O
>(props
:UseOptionListPropParams
<O
>):UseOptionListProp
<O
>
Defined in: packages/react-querybuilder/src/hooks/useOptionListProp.ts:18
Type Parameters
Type Parameter |
---|
O extends {[key : string ]: unknown ; disabled? : boolean ; label : string ; name : string ; value : string ; } |
Parameters
Parameter | Type |
---|---|
props | UseOptionListPropParams <O > |
Returns
Deprecated
Memoize the result of prepareOptionList
instead.
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.