react-input-number-clf
v1.0.9
Published
Made with create-react-library
Downloads
2
Readme
react-input-number-clf
Made with create-react-library
Install
npm install --save react-input-number-clf
Usage
import React, { useState } from 'react'
import { InputNumber } from 'react-input-number-clf'
function Example(){
const [value, setValue] = useState(0)
const onChange = (e) => {
console.log(e)
setValue(e)
}
return (
<InputNumber
values={value}
label={'number'}
background={'#f1f1f1'}
onChange={(e) => onChange(e)}
/>
)
}