From b875a6104b39225f3ca72cec979e14eaa09d0a16 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 15 Nov 2016 13:30:17 +0700 Subject: [PATCH] docs: Button: Add `dashed` to type property description. --- components/button/index.en-US.md | 2 +- components/button/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/button/index.en-US.md b/components/button/index.en-US.md index 51f12d8f43..14c79fac4f 100644 --- a/components/button/index.en-US.md +++ b/components/button/index.en-US.md @@ -16,7 +16,7 @@ To get a customized button, just set `type`/`shape`/`size`/`loading`/`disabled`. Property | Description | Type | Default -----|-----|-----|------ -type | can be set to `primary` `ghost` or omitted | string | - +type | can be set to `primary` `ghost` `dashed` or omitted | string | - htmlType | to set the original `type` of `button`, see: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type) | string | `button` icon | set the icon of button, see: Icon component | string | - shape | can be set to `circle` `circle-outline` or omitted | string | - diff --git a/components/button/index.zh-CN.md b/components/button/index.zh-CN.md index 8f09d36e8f..9a4355bbe3 100644 --- a/components/button/index.zh-CN.md +++ b/components/button/index.zh-CN.md @@ -19,7 +19,7 @@ subtitle: 按钮 属性 | 说明 | 类型 | 默认值 -----|-----|-----|------ -type | 设置按钮类型,可选值为 `primary` `ghost` 或者不设 | string | - +type | 设置按钮类型,可选值为 `primary` `ghost` `dashed` 或者不设 | string | - htmlType | 设置 `button` 原生的 `type` 值,可选值请参考 [HTML 标准](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type) | string | `button` icon | 设置按钮的图标类型 | string | - shape | 设置按钮形状,可选值为 `circle` `circle-outline` 或者不设 | string | -