1
0
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:
slowbackspace 2019-02-26 15:03:19 +01:00
parent a4d4729a50
commit d23c653580

View File

@ -28,7 +28,7 @@ const Backdrop = ({
);
Backdrop.propTypes = {
show: PropTypes.bool.isRequired,
show: PropTypes.bool,
className: PropTypes.string,
animated: PropTypes.bool,
onClick: PropTypes.func,