Fix prop type

pull/9/head
Vasek Mlejnsky 6 years ago
parent b6195e98d8
commit 0bca353ed5

@ -152,7 +152,7 @@ const Button = ({
);
Button.propTypes = {
children: PropTypes.element.isRequired,
children: PropTypes.node.isRequired,
className: PropTypes.string,
onClick: PropTypes.func,
isDisabled: PropTypes.bool,

@ -84,7 +84,7 @@ const NotificationButton = ({
);
NotificationButton.propTypes = {
children: PropTypes.element.isRequired,
children: PropTypes.node.isRequired,
type: PropTypes.string.isRequired,
className: PropTypes.string,
onClick: PropTypes.func,

Loading…
Cancel
Save