Carousel Component has following props:- 1: height (default "100vh") [string] Can use css height declaration 2: width (default "100vw") [string] Can use css width declaration 3: fluid (default false) [boolean] if true it overides default height and width and sets to 100% and 100% "i.e it fills the size of the container it is placed inside" 4: dotVisible (default true) [boolean] makes dots of carousel visible/invisible 5: arrowVisible (default true) [boolean] makes arrows of carousel visible/invisible 6: autoplay (default null) [int "in millisecond"] if null autoplay is off. 7: images (default null) [array of src path of images] *required
shresthabijay / carousel Goto Github PK
View Code? Open in Web Editor NEWreact carousel