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