mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-20 01:41:51 +08:00
Update documentation
Universalize the default props
This commit is contained in:
parent
55c1be3b54
commit
a46f6df572
@ -17,7 +17,7 @@ To get a customized button, just set `type`/`shape`/`size`/`loading`/`disabled`.
|
|||||||
| Property | Description | Type | Default |
|
| Property | Description | Type | Default |
|
||||||
| -------- | ----------- | ---- | ------- |
|
| -------- | ----------- | ---- | ------- |
|
||||||
| disabled | disabled state of button | boolean | `false` |
|
| disabled | disabled state of button | boolean | `false` |
|
||||||
| ghost | make background transparent and invert text and border colors, added in 2.7 | boolean | false |
|
| ghost | make background transparent and invert text and border colors, added in 2.7 | boolean | `false` |
|
||||||
| href | redirect url of link button | string | - |
|
| href | redirect url of link button | string | - |
|
||||||
| htmlType | set the original html `type` of `button`, see: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type) | string | `button` |
|
| htmlType | set the original html `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 | - |
|
||||||
|
Loading…
Reference in New Issue
Block a user