Skip to main content

useQueryBuilderSchema()

useQueryBuilderSchema<RG, F, O, C>(props: QueryBuilderProps<RG, F, O, C>, setup: UseQueryBuilderSetup<RG, F, O, C>): UseQueryBuilderSchema<RG, F, O, C>

Defined in: packages/react-querybuilder/src/components/QueryBuilder.useQueryBuilderSchema.ts:80

For given QueryBuilderProps and setup values from useQueryBuilderSetup, prepares and returns all values required to render a query builder.

Type Parameters

Type Parameter
RG extends RuleGroupTypeAny
F extends FullField<Option, Option>
O extends FullOperator
C extends FullCombinator

Parameters

ParameterType
propsQueryBuilderProps<RG, F, O, C>
setupUseQueryBuilderSetup<RG, F, O, C>

Returns

UseQueryBuilderSchema<RG, F, O, C>


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.