1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-06-21 15:39:02 +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 = { Button.propTypes = {
children: PropTypes.element.isRequired, children: PropTypes.node.isRequired,
className: PropTypes.string, className: PropTypes.string,
onClick: PropTypes.func, onClick: PropTypes.func,
isDisabled: PropTypes.bool, isDisabled: PropTypes.bool,

View File

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