import React from 'react' import { View, ScrollView, Text, StyleSheet, Image, ImageBackground, TouchableOpacity, Platform } from 'react-native' import Theme from '../theme.style.js'; export default function BoardCarousel(props) { return ( {props.items.map((item, index) => { return ( {item.title} {item.subtitle} ) })} {props.bullets} GET STARTED ) } const styles = StyleSheet.create({ statsHead: { paddingTop: 10, paddingHorizontal: 12, }, container: { height: '100%', width: '100%', backgroundColor: '#fbfbfb', shadowColor: '#fcfcfc', shadowOpacity: 1, shadowOffset: { width: 0, height: 5 }, }, scrollView: { display: 'flex', flexDirection: 'row', overflow: 'hidden', width: '100%', height: '100%' }, bullets: { position: 'absolute', bottom: Platform.OS == 'ios' ? 35 : 0, display: 'flex', justifyContent: 'flex-start', flexDirection: 'row', paddingHorizontal: 10, paddingTop: 5, }, button: { position: 'absolute', bottom: Platform.OS == 'ios' ? 50 : 20, right: 35, display: 'flex', justifyContent: 'flex-end', flexDirection: 'row', paddingHorizontal: 10, paddingTop: 5, }, bullet: { paddingHorizontal: 3, alignSelf: 'center', left: 20 } });