From 7c7bc0ea0e150ff982513899777fe42c98d062ef Mon Sep 17 00:00:00 2001 From: Rasula Caldera Date: Wed, 4 Sep 2019 10:20:47 +0530 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Change=20proptype=20valid?= =?UTF-8?q?ation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed string proptype to boolean Closes: #2 --- src/VideoBg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VideoBg.js b/src/VideoBg.js index 4ef66fa..0070a07 100644 --- a/src/VideoBg.js +++ b/src/VideoBg.js @@ -31,7 +31,7 @@ const VideoBg = ({ VideoBg.propTypes = { wrapperClass: PropTypes.string, videoClass: PropTypes.string, - loop: PropTypes.string, + loop: PropTypes.bool, muted: PropTypes.bool, poster: PropTypes.string, autoPlay: PropTypes.bool,