react-xxxx
v2.0.31
Published
a simple ui component
Downloads
7
Maintainers
Readme
react-xxxx
Install
npm install react-xxxx
Development
git clone [Please fill your git repo here]
npm install
npm start
Usage
var Component = require('react-xxxx');
var React = require('react');
React.render(<Component />, container);
API
props
| 参数 | 说明 | 类型 | 可选值 | 默认值 | |------------|---------------------------------------------|-----------|----------------|---------| | name | 指定显示的名字 | int | 任意非负整数 | 0 | | onClick | 点击时的回调函数 | function | | noop |
License
react-xxxx is released under the MIT license.