feat: dropdown support text type, close #4802
parent
40d08f73bb
commit
333331a11c
|
@ -45,7 +45,7 @@ const dropdownProps = () => ({
|
||||||
const ButtonTypesProps = buttonTypes();
|
const ButtonTypesProps = buttonTypes();
|
||||||
const dropdownButtonProps = () => ({
|
const dropdownButtonProps = () => ({
|
||||||
...dropdownProps(),
|
...dropdownProps(),
|
||||||
type: PropTypes.oneOf(tuple('primary', 'ghost', 'dashed', 'default')),
|
type: ButtonTypesProps.type,
|
||||||
size: PropTypes.oneOf(tuple('small', 'large')),
|
size: PropTypes.oneOf(tuple('small', 'large')),
|
||||||
htmlType: ButtonTypesProps.htmlType,
|
htmlType: ButtonTypesProps.htmlType,
|
||||||
href: PropTypes.string,
|
href: PropTypes.string,
|
||||||
|
|
Loading…
Reference in New Issue