@plutojs/input-code
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@plutojs/input-code

InputCode 验证码输入框

Usage

import InputCode from '@plutojs/input-code';
import '@plutojs/input-code/build/index.css';

<InputCode count={4} />
参数 描述 类型 可选 默认值
count 验证码位数 Number 4
onChange 输入回调方法 Function

方法

方法名称 描述 参数
clear 清空&聚焦输入框

Readme

Keywords

Package Sidebar

Install

npm i @plutojs/input-code

Weekly Downloads

0

Version

1.1.0

License

MIT

Unpacked Size

8.29 kB

Total Files

7

Last publish

Collaborators

  • firewood.lv