Provides the behavior for a formatted number input.
const [value, setValue] = useState<number>();const { inputProps } = useNumberInput({ value, onChange: setValue });<input {...inputProps} /> Copy
const [value, setValue] = useState<number>();const { inputProps } = useNumberInput({ value, onChange: setValue });<input {...inputProps} />
Provides the behavior for a formatted number input.