docs: [dropdown] add button-props prop (#19694)

docs: [dropdown] add `button-props` prop

Co-authored-by: Bruce Lu <smallbone.lu@gmail.com>
This commit is contained in:
smallbone 2025-01-20 10:31:27 +08:00 committed by GitHub
parent 0be1872b06
commit 745f3616cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -95,6 +95,7 @@ dropdown/sizes
| -------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------- |
| type | menu button type, refer to `Button` Component, only works when `split-button` is true | ^[enum]`'' \| 'default' \| 'primary' \| 'success' \| 'warning' \| 'info' \| 'danger' \| 'text' (deprecated)` | '' |
| size | menu size, also works on the split button | ^[enum]`'' \| 'large' \| 'default' \| 'small'` | '' |
| button-props | props for the button component, refer to [Button Attributes](./button.html#button-attributes) | ^[object] | — |
| max-height | the max height of menu | ^[string] / ^[number] | '' |
| split-button | whether a button group is displayed | ^[boolean] | false |
| disabled | whether to disable | ^[boolean] | false |