Merge pull request #403 from trezor/fix/invalid-prop-type

Fix/allow passing null in Backdrop show prop
pull/404/head
Vladimir Volek 5 years ago committed by GitHub
commit 82114d1364
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save