Browse Source

docs: improve property description (#39273)

按钮失效状态 》 设置按钮失效状态
pull/39277/head
糊涂 2 years ago
committed by GitHub
parent
commit
c9d8b89e25
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/button/index.zh-CN.md

2
components/button/index.zh-CN.md

@ -59,7 +59,7 @@ group:
| --- | --- | --- | --- | --- |
| block | 将按钮宽度调整为其父宽度的选项 | boolean | false | |
| danger | 设置危险按钮 | boolean | false | |
| disabled | 按钮失效状态 | boolean | false | |
| disabled | 设置按钮失效状态 | boolean | false | |
| ghost | 幽灵属性,使按钮背景透明 | boolean | false | |
| href | 点击跳转的地址,指定此属性 button 的行为和 a 链接一致 | string | - | |
| htmlType | 设置 `button` 原生的 `type` 值,可选值请参考 [HTML 标准](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type) | string | `button` | |

Loading…
Cancel
Save