Reputation: 4175
I'm using react-native-swiper
, but when I implement it, it's set to default height full screen.
Is there a way to have the swiper height automatically adjust to the slide content (height)?
Upvotes: 1
Views: 2856
Reputation: 4175
I made this work using height="100%"
for the Swiper
<Swiper
loop
autoplay
autoplayTimeout={5}
height='100%'
>
</Swiper>
Upvotes: 3