import React from "react" import { View, Text, TouchableOpacity, StyleSheet } from "react-native" import { colors, texts } from "../components/Variables" const styles = StyleSheet.create({ row: { paddingHorizontal: 15, paddingVertical: 20, backgroundColor: colors.blue, marginBottom: 1 }, container: { paddingHorizontal: 20 }, button: { backgroundColor: colors.white_alpha, borderWidth: 4, borderColor: 'transparent', borderRadius: 10, paddingHorizontal: 10, paddingVertical: 13, alignItems: "center", justifyContent: "center", width: "100%", marginVertical: 5 }, text: { fontSize: 20, color: colors.white, fontWeight: "500", textShadowColor: 'rgba(0, 0, 0, 0.45)', textShadowOffset: {width: -1, height: 1}, textShadowRadius: 2 }, subtitle: { fontSize: 14, color: colors.white, fontWeight: "400", textShadowColor: 'rgba(0, 0, 0, 0.45)', textShadowOffset: {width: -1, height: 1}, textShadowRadius: 2 } }) export const RowItem = ({ onPress = () => {}, name, subtitle, textColor }) => ( {name} ({subtitle} {texts.questions}) )