Usage
use-input-state
handles state of native inputs (with event in onChange
handler) and custom inputs (with value in onChange
handler).
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: