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:
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…
Reference in New Issue
Block a user