ctify

Carousel

Carousels show a collection of items that can be scrolled on and off the screen
carousel 1

Props

PropsTypeDescriptionDefault
autoPlaybooleanSets the autoplay mode for carouselfalse
controlbooleanShow prev and next button for carouselfalse
currentnumberSets carousel start play index0
indicatorbooleanShow the indicator for carouselfalse
infinitebooleanSets the infinite mode for carouselfalse
intervalnumberSets the interval duration for autoplay mode in miliseconds3000
childrenReact.React.Nodenull
Edit this page on GitHub