feat: dropdown support text type, close #4802

pull/4825/head
tangjinzhou 2021-10-25 17:00:04 +08:00
parent 40d08f73bb
commit 333331a11c
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ const dropdownProps = () => ({
const ButtonTypesProps = buttonTypes();
const dropdownButtonProps = () => ({
...dropdownProps(),
type: PropTypes.oneOf(tuple('primary', 'ghost', 'dashed', 'default')),
type: ButtonTypesProps.type,
size: PropTypes.oneOf(tuple('small', 'large')),
htmlType: ButtonTypesProps.htmlType,
href: PropTypes.string,