mirror of
https://github.com/trezor/trezor-wallet
synced 2025-03-10 05:36:04 +00:00
Merge pull request #403 from trezor/fix/invalid-prop-type
Fix/allow passing null in Backdrop show prop
This commit is contained in:
commit
82114d1364
@ -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