reactui-inputcontrol

0.0.1 • Public • Published

react-button

inputControl组件

基于bootstrap样式

Installation

npm install reactui-input

API

props

name type default description
config object - 配置
inputChange func - 变更触发函数

Demo

npm run start

http://localhost:8888/example/

Usage

import Input from 'reactui-Input'
const parentConfig = {
    title : '母帐号',
    type  : 'noempty',
    tipInfo : '说明:只可填写政府类帐号',
    placeholder : '请输入母账号id或注册邮箱',
    errorInfo : '母帐号不能为空'
}
return (
    <form className="form-horizontal">
        <div className="control-group">
            <label className="control-label">母帐号:</label>
            <Input inputChange={this.handleText.bind(this)} config={parentConfig}></Input>
        </div>
    </form>
)

Package Sidebar

Install

npm i reactui-inputcontrol

Weekly Downloads

0

Version

0.0.1

License

ISC

Last publish

Collaborators

  • datianyun