1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-03-10 13:46:05 +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:
Vladimir Volek 2019-02-26 15:19:06 +01:00 committed by GitHub
commit 82114d1364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,