mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-27 10:48:22 +00:00
allow passing null in show prop
This commit is contained in:
parent
a4d4729a50
commit
d23c653580
@ -28,7 +28,7 @@ const Backdrop = ({
|
||||
);
|
||||
|
||||
Backdrop.propTypes = {
|
||||
show: PropTypes.bool.isRequired,
|
||||
show: PropTypes.bool,
|
||||
className: PropTypes.string,
|
||||
animated: PropTypes.bool,
|
||||
onClick: PropTypes.func,
|
||||
|
Loading…
Reference in New Issue
Block a user