Usage
The use-input-state hook handles the state of native inputs (with event in onChange handler) and custom inputs (with value in onChange handler).
The hook works with all Mantine and native inputs:
Definition
Exported types
UseInputStateReturnValue type is exported from @mantine/hooks package,
you can import it in your application: