Carousel
A swipeable image carousel with pagination dots.
Installation
rubics add carouselUsage
Basic
Props
| Name | Type | Default | Description |
|---|---|---|---|
| data | ImageSourcePropType[] | - | Array of images to display. |
| width | number | - | Width of the carousel. Defaults to the screen width. |
| height | number | - | Height of the images. Defaults to 220. |
| showDots | boolean | - | Whether to show the pagination dots below the carousel. Defaults to true. |
| style | StyleProp<ViewStyle> | - | Custom styles for the wrapper container. |
| imageStyle | StyleProp<ImageStyle> | - | Custom styles for the individual images. |
9:41
Gallery
