Skip to main content

useMergedContext()

useMergedContext<F, O>(__namedParameters): UseMergedContextReturn<F, O>

Merges inherited context values with props, giving precedence to props.

Type Parameters

Type ParameterDefault type
F extends FullField<string, string, string, Option<string>, Option<string>>FullField<string, string, string, Option<string>, Option<string>>
O extends stringstring

Parameters

ParameterType
__namedParametersUseMergedContextProps<F, O>

Returns

UseMergedContextReturn<F, O>

Defined in

packages/react-querybuilder/src/hooks/useMergedContext.ts:60


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.