react input code


Keywords
react, mobile, code, input
License
ISC
Install
npm install react-input-code-pretty@1.1.7

Documentation

react-input-code-pretty


react-input-code-pretty

build status NPM version Test coverage npm download

install

react-input-code-pretty

Usage

var VerifyCode = require('react-input-code-pretty');
var React = require('react');
React.render(<VerifyCode />, container);

API

props

name type default description
isShow Boolean false false 不显示按钮,true 为显示按钮,处理code逻辑
btnText String 按钮内容文本
useCodeFun fun useCodeFun, param is value

Development

npm install react-input-code-pretty --save
npm start

Example