Skip to content

Commit

Permalink
docs: ✏️ 增加Button细边框幽灵按钮的使用说明
Browse files Browse the repository at this point in the history
  • Loading branch information
xuqingkai authored and Moonofweisheng committed Feb 21, 2024
1 parent 5f0d1f5 commit 366c34b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/component/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@
<wd-button plain>主要按钮</wd-button>
```

## 细边框幽灵按钮

设置 `hairline` 属性。

```html
<wd-button plain hairline>主要按钮</wd-button>
```


## 按钮大小

设置 `size` ,支持 'small'、'medium'、'large',默认为 'medium'。
Expand Down Expand Up @@ -88,8 +97,8 @@
| type | 按钮类型 | string | primary / success / info / warning / error / text / icon | primary | - |
| round | 圆角按钮 | boolean | - | true | - |
| plain | 幽灵按钮 | boolean | - | false | - |
| hairline| 是否细边框 | boolean | - | false | - |
| loading | 加载中按钮 | boolean | - | false | - |
| suck | 吸顶按钮 | boolean | - | false | - |
| block | 块状按钮 | boolean | - | false | - |
| size | 按钮尺寸 | string | small / medium / large | medium | - |
| disabled | 禁用按钮 | boolean | - | false | - |
Expand Down

0 comments on commit 366c34b

Please sign in to comment.