We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40d08f7 commit 333331aCopy full SHA for 333331a
components/dropdown/props.ts
@@ -45,7 +45,7 @@ const dropdownProps = () => ({
45
const ButtonTypesProps = buttonTypes();
46
const dropdownButtonProps = () => ({
47
...dropdownProps(),
48
- type: PropTypes.oneOf(tuple('primary', 'ghost', 'dashed', 'default')),
+ type: ButtonTypesProps.type,
49
size: PropTypes.oneOf(tuple('small', 'large')),
50
htmlType: ButtonTypesProps.htmlType,
51
href: PropTypes.string,
0 commit comments