Skip to content

Commit 333331a

Browse files
committed
feat: dropdown support text type, close #4802
1 parent 40d08f7 commit 333331a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dropdown/props.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const dropdownProps = () => ({
4545
const ButtonTypesProps = buttonTypes();
4646
const dropdownButtonProps = () => ({
4747
...dropdownProps(),
48-
type: PropTypes.oneOf(tuple('primary', 'ghost', 'dashed', 'default')),
48+
type: ButtonTypesProps.type,
4949
size: PropTypes.oneOf(tuple('small', 'large')),
5050
htmlType: ButtonTypesProps.htmlType,
5151
href: PropTypes.string,

0 commit comments

Comments
 (0)