import React from "react"; import { StyleSheet, View, StatusBar, ImageBackground, Text, TouchableOpacity, } from "react-native"; import EntypoIcon from "react-native-vector-icons/Entypo"; function AdditionalOptionsBottomBar(props) { return ( { props.leftText ? {props.leftText} : } {props.rightText && {props.rightText} } ); }; const bottomBarStyles = StyleSheet.create({ container: { flexDirection: "row", justifyContent: "space-between", paddingBottom: 30, }, text: { color: "rgba(255,255,255,0.5)", } }) // --------------------------------------------------------------------------------------------- function SetupView(props) { return ( {props.backButton && } {props.headerText} {props.children} ); } const setupViewStyles = StyleSheet.create({ container: { flex: 1, justifyContent: "space-between", width: "80%", marginLeft: 40, marginTop: 60, }, headerText: { color: "rgba(255,255,255,1)", fontSize: 25, }, subtext: { color: "rgba(255,255,255,1)", textAlign: "left", fontSize: 18, lineHeight: 25, width: "80%", }, backButton: { color: "rgba(255,255,255,1)", fontSize: 40 }, }); export default SetupView;