useControlledOrUncontrolled()
useControlledOrUncontrolled(
params
:UseControlledOrUncontrolledParams
):void
Defined in: packages/react-querybuilder/src/hooks/useControlledOrUncontrolled.ts:15
Logs a warning when the component changes from controlled to uncontrolled,
vice versa, or both query
and defaultQuery
are provided.
Parameters
Parameter | Type |
---|---|
params | UseControlledOrUncontrolledParams |
Returns
void
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.