This commit is contained in:
Boyuzhou 2016-10-14 15:38:18 +08:00
commit 347659e9c8
2 changed files with 16 additions and 2 deletions

View File

@ -44,7 +44,19 @@ const class2 = [`${clsPrefix}-submit`, `${clsPrefix}-item`];
const classString = classNames('hide', class1, class2);
```
## 组件接口规范
|参数|说明|类型|默认值|
|---|----|---|------|
|size|尺寸|string|medium|
|color|颜色|string|''|
|shape|形状|string|''|
|disabled|是否禁用(`disabled` 或 `true` `false`)|bool|false|
|className|增加额外的类名|string|''|
|htmlType|html dom 的 type 属性|string|''|
|style|内联样式|object|''|
|loadingText|loading时显示内容,默认值loading|string|loading|
|loadingTime|loading的时间|number|300ms|
## 基本代码结构

View File

@ -3,12 +3,15 @@
### 现有组件
- button
- badge
- loadingstate
- tooltip
### 正在开发组件
|组件|开发者|
|:--|--:|
|dropdown|boyuhzou|
|badge|ahua|
|comtrigger|ahua|
|switch|wanghongxiang|
@ -40,7 +43,6 @@
- listgroup
- gallery
- card
- loadingstate
- carousel
#### 复杂组件