mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-26 00:26:53 +08:00
Merge pull request #3850 from waywardmonkeys/missing-dashed-button-doc
docs: Button: Add `dashed` to type property description.
This commit is contained in:
commit
7e5cb09a2d
@ -16,7 +16,7 @@ To get a customized button, just set `type`/`shape`/`size`/`loading`/`disabled`.
|
|||||||
|
|
||||||
Property | Description | Type | Default
|
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`
|
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 | -
|
icon | set the icon of button, see: Icon component | string | -
|
||||||
shape | can be set to `circle` `circle-outline` or omitted | string | -
|
shape | can be set to `circle` `circle-outline` or omitted | string | -
|
||||||
|
@ -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`
|
htmlType | 设置 `button` 原生的 `type` 值,可选值请参考 [HTML 标准](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type) | string | `button`
|
||||||
icon | 设置按钮的图标类型 | string | -
|
icon | 设置按钮的图标类型 | string | -
|
||||||
shape | 设置按钮形状,可选值为 `circle` `circle-outline` 或者不设 | string | -
|
shape | 设置按钮形状,可选值为 `circle` `circle-outline` 或者不设 | string | -
|
||||||
|
Loading…
Reference in New Issue
Block a user