realue • Docs
realue / useMutator
useMutator<
T
>(props
):ValueMutatorNamed
<T
> |undefined
Returns a simple mutator that takes only the new value
as argument.
• T
• props: Pick
<NevoProps
<T
>, "onChange"
| "name"
| "value"
>
Properties name
and onChange
according to the NEVO pattern.
ValueMutatorNamed
<T
> | undefined
Simple mutator that takes only the new value
as argument.