uxcore-button ui component for react
npm install uxcore-button---
button ui component for react
#### setup develop environment
``sh`
$ git clone https://github.com/uxcore/uxcore-button
$ cd uxcore-button
$ npm install
$ npm start
#### Button
|参数|说明|类型|默认值|
|---|----|---|------|
|size|按钮大小(large middle small)|string|medium|primary
|type|类型( secondary outline white text)|string|primary|disabled
|disabled|是否禁用( 或 true false)|string|false|submit
|ghost|是否显示为幽灵按钮|bool|false|
|danger|是否显示为危险按钮|bool|false|
|className|增加额外的class|string|''|
|htmlType|html dom 的 type 属性( button reset)|string|button|onCountDownEnd`回调函数|number|undefined|
|style|style 属性|object||
|loading|loading状态, loading 为 true 时不会触发 onClick 动作 |bool|false|
|countDown|按钮倒计时功能,单位为秒(s),倒计时结束之后会触发
|onCountDownEnd|倒计时结束之后的回调函数|function|noop|