1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-11 08:31:00 +00:00

Fix prop type

This commit is contained in:
Vasek Mlejnsky 2018-09-03 15:29:42 +02:00
parent b6195e98d8
commit 0bca353ed5
2 changed files with 2 additions and 2 deletions

View File

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

View File

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