Added missing prop validation

This commit is contained in:
orangemug 2020-05-14 13:27:43 +01:00
parent b7e414a042
commit c5c1dd12b9

View file

@ -11,6 +11,7 @@ class Button extends React.Component {
className: PropTypes.string, className: PropTypes.string,
children: PropTypes.node, children: PropTypes.node,
disabled: PropTypes.bool, disabled: PropTypes.bool,
type: PropTypes.string,
} }
render() { render() {