react ac-button component for tinper-bee
some description...
- react >= 15.3.0
- react-dom >= 15.3.0
- prop-types >= 15.6.0
$ ynpm install @yonyou/ac-button --save
引入
import AcButton from '@yonyou/ac-button';
样式
import '@yonyou/ac-button/dist/index.css';
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
bcolors | 颜色类型 | string | default |
onClick | 点击事件 | fun | (e,this) |
disabled | true/false | bool | -- |
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/ac-button
$ cd ac-button
$ npm install
$ npm run dev