docs: Document default for button size (#27283)

This commit is contained in:
Robin Pokorny 2020-10-21 17:17:08 +02:00 committed by GitHub
parent 0658d32785
commit aa00cee500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ Different button styles can be generated by setting Button properties. The recom
| icon | Set the icon component of button | ReactNode | - | |
| loading | Set the loading status of button | boolean \| { delay: number } | false | |
| 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 | - | |
| type | Can be set to `primary` `ghost` `dashed` `link` `text` `default` | string | `default` | |
| onClick | Set the handler to handle `click` event | (event) => void | - | |