Skip to content

Commit 8a45202

Browse files
zeratul1tangjinzhou
authored andcommitted
add 'danger' type to dropdown-button (#179)
1 parent 79f4caf commit 8a45202

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dropdown/dropdown-button.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const ButtonGroup = Button.Group
1111
const DropdownButtonProps = {
1212
...ButtonGroupProps,
1313
...DropdownProps,
14-
type: PropTypes.oneOf(['primary', 'ghost', 'dashed', 'default']).def('default'),
14+
type: PropTypes.oneOf(['primary', 'ghost', 'dashed', 'danger', 'default']).def('default'),
1515
disabled: PropTypes.bool,
1616
prefixCls: PropTypes.string.def('ant-dropdown-button'),
1717
placement: DropdownProps.placement.def('bottomRight'),

0 commit comments

Comments
 (0)