UNPKG

@code-atlas/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.

25 lines (22 loc) 637 B
import { StyleSheet } from 'react-native'; const DEFAULT_DOT_SIZE = 7; const DEFAULT_DOT_COLOR = 'rgba(0, 0, 0, 0.75)'; export default StyleSheet.create({ sliderPagination: { alignItems: 'center', justifyContent: 'center', paddingHorizontal: 20, paddingVertical: 30 }, sliderPaginationDotContainer: { alignItems: 'center', justifyContent: 'center', marginHorizontal: 8 }, sliderPaginationDot: { width: DEFAULT_DOT_SIZE, height: DEFAULT_DOT_SIZE, borderRadius: DEFAULT_DOT_SIZE / 2, backgroundColor: DEFAULT_DOT_COLOR } });