mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-27 18:58:08 +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 = {
|
Backdrop.propTypes = {
|
||||||
show: PropTypes.bool.isRequired,
|
show: PropTypes.bool,
|
||||||
className: PropTypes.string,
|
className: PropTypes.string,
|
||||||
animated: PropTypes.bool,
|
animated: PropTypes.bool,
|
||||||
onClick: PropTypes.func,
|
onClick: PropTypes.func,
|
||||||
|
Loading…
Reference in New Issue
Block a user