import GetSvg from "@/assets/icons/svg/get.svg"; import { ThemedText } from "@/components/ThemedText"; import { useTranslation } from "react-i18next"; import { StyleProp, StyleSheet, TouchableOpacity, View, ViewStyle } from "react-native"; interface Props { setUserType: (type: 'normal' | 'premium') => void; style?: StyleProp; } const Normal = (props: Props) => { const { setUserType } = props; const { t } = useTranslation(); return ( {t('rights.100Bonus', { ns: 'personal' })} {t('rights.100BonusText', { ns: 'personal' })} {t('rights.10G', { ns: 'personal' })} {t('rights.10GText', { ns: 'personal' })} { setUserType('premium'); }} activeOpacity={0.8} > {t('rights.purchase', { ns: 'personal' })} ); } export default Normal; const styles = StyleSheet.create({ goPro: { backgroundColor: '#E2793F', borderRadius: 24, paddingVertical: 12, display: "flex", alignItems: "center", width: "100%", }, normalInfo: { display: "flex", flexDirection: "column", gap: 16 }, normalItem: { display: "flex", flexDirection: "column", alignItems: "flex-start", gap: 16 }, normalItemContent: { display: "flex", flexDirection: "column", } });