mirror of
https://github.com/trezor/trezor-wallet
synced 2025-06-21 07:28:47 +00:00
Fix prop type
This commit is contained in:
parent
b6195e98d8
commit
0bca353ed5
@ -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,
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user