:carousel_horse: React Native 的循环轮播图
| 名称 | propType | 默认值 | 描述 |
|---|---|---|---|
| autoplay | boolean | true | 启用自动动画 |
| delay | number | 4000 | 自动动画之间的毫秒数 |
| currentPage | number | 0 | 允许设置初始页 |
| pageStyle | style | null | 页面的样式 |
| contentContainerStyle | style | null | scrollView 的 contentContainerStyle |
| onAnimateNextPage | func | null | 当前页的 0 位 ID 为参数的回调函数 |
| onPageBeingChanged | func | null | 当滚动开始时,下一页的 0 位 ID 为参数的回调函数 |
| swipe | bool | true | Swipe 的运动控制 |
| isLooped | bool | true | 是否可以无限滚动 |
| 分页 | --- | --- | --- |
| pageInfo | boolean | false | 在底部显示 {currentPage} / {totalNumberOfPages} 标签 |
| pageInfoBackgroundColor | string | 'rgba(0, 0, 0, 0.25)' | pageInfo 的背景颜色 |
| pageInfoBottomContainerStyle | style | null | pageInfo 容器的样式 |
| pageInfoTextStyle | style | null | pageInfo 中文本的样式 |
| pageInfoTextSeparator | string | ' / ' | {currentPage} 和 {totalNumberOfPages} 的分隔符 |
| 圆点 | --- | --- | --- |
| bullets | bool | false | 是否在轮播图底部显示"圆点" |
| bulletStyle | style | null | 每个圆点的样式 |
| bulletsContainerStyle | style | null | 圆点容器的样式 |
| chosenBulletStyle | style | null | 选中的圆点的样式 |
| 箭头 | --- | --- | --- |
| arr |
暂无开放 Issues,或尚未同步最近议题。