Skip to content

Commit

Permalink
Update index.zh-CN.md (#32324)
Browse files Browse the repository at this point in the history
  • Loading branch information
yingxirz committed Sep 28, 2021
1 parent f50ee82 commit 4f7565c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/button/index.zh-CN.md
Expand Up @@ -18,7 +18,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/fNUKzY1sk/Button.svg
- 默认按钮:用于没有主次之分的一组行动点。
- 虚线按钮:常用于添加操作。
- 文本按钮:用于最次级的行动点。
- 链接按钮:用于作为外链的行动点
- 链接按钮:一般用于链接,即导航至某位置

以及四种状态属性与上面配合使用。

Expand All @@ -27,6 +27,8 @@ cover: https://gw.alipayobjects.com/zos/alicdn/fNUKzY1sk/Button.svg
- 禁用:行动点不可用的时候,一般需要文案解释。
- 加载中:用于异步操作等待反馈的时候,也可以避免多次提交。

[完整设计指南](https://ant.design/docs/spec/buttons-cn)

## API

通过设置 Button 的属性来产生不同的按钮样式,推荐顺序为:`type` -> `shape` -> `size` -> `loading` -> `disabled`
Expand Down

0 comments on commit 4f7565c

Please sign in to comment.