Function: useNumberInputContext()
Call Signature
function useNumberInputContext(): NumberInputContextValue;
Defined in: react/src/components/NumberInput/context.tsx:93
The only state behind this is the editing draft; value comes from the props
of Root and everything else is derived during render.
Returns
Call Signature
function useNumberInputContext<T>(selector): T;
Defined in: react/src/components/NumberInput/context.tsx:94
The only state behind this is the editing draft; value comes from the props
of Root and everything else is derived during render.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
selector | (state) => T |
Returns
T