@ray-js/components-ty-input
v0.0.5
Published
涂鸦风格输入框
Downloads
137
Readme
English | 简体中文
@ray-js/components-ty-input
Tuya Style Input
Installation
$ npm install @ray-js/components-ty-input
# or
$ yarn add @ray-js/components-ty-input
Usage
import Input from '@ray-js/components-ty-input';
const [value, setValue] = useState('2000');
<Input placeholder="Input" value={value} onInput={e => setValue(e.value)} addonAfter="W" />;