mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 19:42:54 +08:00
docs: Document default for button size (#27283)
This commit is contained in:
parent
0658d32785
commit
aa00cee500
@ -41,7 +41,7 @@ Different button styles can be generated by setting Button properties. The recom
|
|||||||
| icon | Set the icon component of button | ReactNode | - | |
|
| icon | Set the icon component of button | ReactNode | - | |
|
||||||
| loading | Set the loading status of button | boolean \| { delay: number } | false | |
|
| loading | Set the loading status of button | boolean \| { delay: number } | false | |
|
||||||
| shape | Can be set button shape | `circle` \| `round` | - | |
|
| shape | Can be set button shape | `circle` \| `round` | - | |
|
||||||
| size | Set the size of button | `large` \| `middle` \| `small` | - | |
|
| size | Set the size of button | `large` \| `middle` \| `small` | `middle` | |
|
||||||
| target | Same as target attribute of a, works when href is specified | string | - | |
|
| target | Same as target attribute of a, works when href is specified | string | - | |
|
||||||
| type | Can be set to `primary` `ghost` `dashed` `link` `text` `default` | string | `default` | |
|
| type | Can be set to `primary` `ghost` `dashed` `link` `text` `default` | string | `default` | |
|
||||||
| onClick | Set the handler to handle `click` event | (event) => void | - | |
|
| onClick | Set the handler to handle `click` event | (event) => void | - | |
|
||||||
|
Loading…
Reference in New Issue
Block a user