diff --git a/components/dropdown/dropdown-button.jsx b/components/dropdown/dropdown-button.jsx index bfd3ffc13..8da841fe2 100644 --- a/components/dropdown/dropdown-button.jsx +++ b/components/dropdown/dropdown-button.jsx @@ -12,6 +12,7 @@ const DropdownButtonProps = { ...ButtonGroupProps, ...DropdownProps, type: PropTypes.oneOf(['primary', 'ghost', 'dashed', 'danger', 'default']).def('default'), + size: PropTypes.oneOf(['small', 'large', 'default']).def('default'), htmlType: ButtonTypesProps.htmlType, disabled: PropTypes.bool, prefixCls: PropTypes.string.def('ant-dropdown-button'), @@ -74,8 +75,15 @@ export default { dropdownProps.props.visible = visible; } + const buttonGroupProps = { + props: { + ...restProps, + }, + class: prefixCls, + }; + return ( - +