@ray-js/components-ty-input
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

English | 简体中文

@ray-js/components-ty-input

latest download

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" />;

Readme

Keywords

none

Package Sidebar

Install

npm i @ray-js/components-ty-input

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

47.5 kB

Total Files

52

Last publish

Collaborators

  • tuyafe