Carousel
A carousel component. Scales with its container.
import { Carousel } from '@redshank/native';
Examples
Default
Default carousel view.
APIs
Carousel props
Api props extends from ScrollView
Attribute | Type | Accepted values | Description | Default |
---|---|---|---|---|
children | JSXElemnt JSXElement[] | React Element | Accessory as a child for the component, we suggest passing Header, Content or Footer elements | - |
scrollViewProps | ScrollViewProps | Omit<ScrollViewProps, 'children'> | Extra accessory for ScrollView element | - |
showScroll | boolean | true false | Show or Hidden scroll bars | false |
widthChild | boolean | true false | Subtract 60px to the element total width | false |
Community:
We're excited to see the community adopt @redshank/native, raise issues, and provide feedback. Whether it's a feature request, bug report, or a project to showcase, please get involved!
DiscordGithubContributing:
PR's on @redshank/native are always welcome, please see our contribution guidelines to learn how you can contribute to this project.