Skip to main content

UseMergedContextProps<F, O, Finalize>

UseMergedContextProps<F, O, Finalize>: QueryBuilderContextProps<F, O> & { finalize: Finalize; initialQuery: RuleGroupTypeAny; qbId: string; }

Defined in: packages/react-querybuilder/src/hooks/useMergedContext.ts:21

Type declaration

finalize?

optional finalize: Finalize

When true, props and context are merged with defaults to ensure all properties are defined. Action elements and value selectors are merged with their respective bulk override components. Only needs to be true when run from QueryBuilder.

initialQuery?

optional initialQuery: RuleGroupTypeAny

qbId?

optional qbId: string

Type Parameters

Type ParameterDefault type
F extends FullFieldFullField
O extends stringstring
Finalize extends boolean | undefinedundefined

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.