From 9c447b3c0dd89f01199ce48d3f2e33ce22692078 Mon Sep 17 00:00:00 2001 From: matrosov Date: Wed, 12 Sep 2018 12:54:15 +0500 Subject: [PATCH] autoplaySpeed prop type changed to bool/number --- components/OwlCarousel.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components/OwlCarousel.jsx b/components/OwlCarousel.jsx index 0faf3de..b1b253f 100644 --- a/components/OwlCarousel.jsx +++ b/components/OwlCarousel.jsx @@ -305,7 +305,10 @@ OwlCarousel.propTypes = { autoplay: PropTypes.bool, autoplayTimeout: PropTypes.number, autoplayHoverPause: PropTypes.bool, - autoplaySpeed: PropTypes.bool, + autoplaySpeed: PropTypes.oneOfType([ + PropTypes.bool, + PropTypes.number, + ]), // navigation nav: PropTypes.bool,