use-uncontrolled
Manage state of both controlled and uncontrolled components
Source
Docs
PackageIcon
Usage
The use-uncontrolled hook manages state for both controlled and uncontrolled components:
Set value type
By default, the hook will set the type automatically, but you can provide your own type:
Definition
Exported types
The UseUncontrolledOptions and UseUncontrolledReturnValue types are exported from @mantine/hooks;