diff --git a/components/button/button.tsx b/components/button/button.tsx index b9aef4508d..cf03e58fe7 100644 --- a/components/button/button.tsx +++ b/components/button/button.tsx @@ -86,7 +86,7 @@ export default class Button extends React.Component { }; static propTypes = { - type: PropTypes.oneOf(ButtonTypes), + type: PropTypes.string, shape: PropTypes.oneOf(ButtonShapes), size: PropTypes.oneOf(ButtonSizes), htmlType: PropTypes.oneOf(ButtonHTMLTypes),