Browse Source

feat: dropdown support text type, close #4802

pull/4825/head
tangjinzhou 3 years ago
parent
commit
333331a11c
  1. 2
      components/dropdown/props.ts

2
components/dropdown/props.ts

@ -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,

Loading…
Cancel
Save