mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 20:18:22 +08:00
add 'danger' type to dropdown-button (#179)
This commit is contained in:
parent
79f4cafeba
commit
8a45202d91
@ -11,7 +11,7 @@ const ButtonGroup = Button.Group
|
||||
const DropdownButtonProps = {
|
||||
...ButtonGroupProps,
|
||||
...DropdownProps,
|
||||
type: PropTypes.oneOf(['primary', 'ghost', 'dashed', 'default']).def('default'),
|
||||
type: PropTypes.oneOf(['primary', 'ghost', 'dashed', 'danger', 'default']).def('default'),
|
||||
disabled: PropTypes.bool,
|
||||
prefixCls: PropTypes.string.def('ant-dropdown-button'),
|
||||
placement: DropdownProps.placement.def('bottomRight'),
|
||||
|
Loading…
Reference in New Issue
Block a user