Closed ninjaofawesome closed 5 years ago
This PR allows the user to set a prop of auto on the carousel, for autoplay.
setInterval
this.props.auto
next()
clearInterval()
VHS-249
OVERVIEW
This PR allows the user to set a prop of auto on the carousel, for autoplay.
SOLUTION
setInterval
if thethis.props.auto
is true on thenext()
method in the Carousel componentclearInterval()
at the top of thenext()
method to reset the auto advance (for clicking)NOTES
TICKET
VHS-249