The picture shown, by its index (controlled); set it and the carousel slides there
defaultPage
number
0
The first picture shown (uncontrolled)
onPageChange
(page: number) => void
—
Called with the picture a swipe, a dot or the app comes to rest on
onPageScroll
(position: number) => void
—
Called on every frame the pictures move (a finger, the paging spring, a dot) with their place as a fractional page, from 0 to the last: for what stands over the carousel and moves with a picture
gap
number
0
Room between two pictures in points, seen only while they move
counter
boolean
true
The count over the top end corner, while the pictures turn and three seconds after
dots
"below" | "over" | "none"
"below"
The page dots: under the pictures, over their foot in white, or none
dotsBackground
"minimal" | "automatic" | "prominent"
"minimal"
The capsule behind the dots: none, while a finger presses or scrubs them, or always (none on Android)
aspectRatio
number
—
The pictures' width over their height; without it they fill the height given
testID
string
—
Test id; the count and the dots take it with -counter and -dots