mirror of
https://github.com/element-plus/element-plus.git
synced 2025-01-30 11:16:12 +08:00
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:
parent
0be1872b06
commit
745f3616cd
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user