useMergedContext()
useMergedContext<
F
,O
>(__namedParameters
):UseMergedContextReturn
<F
,O
>
Merges inherited context values with props, giving precedence to props.
Type Parameters
Type Parameter | Default type |
---|---|
F extends FullField <string , string , string , Option <string >, Option <string >> | FullField <string , string , string , Option <string >, Option <string >> |
O extends string | string |
Parameters
Parameter | Type |
---|---|
__namedParameters | UseMergedContextProps <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.