Skip to content

Commit

Permalink
feat: dropdown support text type, close #4802
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Oct 25, 2021
1 parent 40d08f7 commit 333331a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/dropdown/props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 333331a

Please sign in to comment.