UNPKG

react-native-snap-carousel

Version:

Swiper/carousel component for React Native with previews, multiple layouts, parallax images, performant handling of huge numbers of items, and RTL support. Compatible with Android & iOS.

21 lines (19 loc) 453 B
import { StyleSheet } from 'react-native'; export default StyleSheet.create({ container: { overflow: 'hidden', alignItems: 'center', justifyContent: 'center' }, image: { position: 'relative', resizeMode: 'cover', width: null, height: null }, loaderContainer: { ...StyleSheet.absoluteFillObject, alignItems: 'center', justifyContent: 'center' } });