import * as React from 'react'; import { useState } from 'react'; import { Alert, Button, Image, StyleSheet, Dimensions, SafeAreaView, ScrollView, TouchableOpacity, ImageBackground, Modal, Pressable } from 'react-native'; import { LinearGradient } from 'expo-linear-gradient'; import { Ionicons, FontAwesome } from '@expo/vector-icons'; import EditScreenInfo from '../components/EditScreenInfo'; import { Text, View } from '../components/Themed'; import { TextInput } from 'react-native-gesture-handler'; import { useNavigation } from '@react-navigation/native'; import { Checkbox } from 'react-native-paper'; import Person from "react-native-bootstrap-icons/icons/person"; import Telephone from "react-native-bootstrap-icons/icons/telephone"; import Envelope from "react-native-bootstrap-icons/icons/envelope"; import Geoalt from "react-native-bootstrap-icons/icons/geo-alt"; import Lock from "react-native-bootstrap-icons/icons/lock"; export default function Register() { const [checkedRegis, setCheckedRegis] = useState(false); const [checkedRegisBaoMat, setCheckedRegisBaoMat] = useState(false); const navigation = useNavigation(); return ( Tạo tài khoản Nagakawa setCheckedRegis(!checkedRegis)} /> Tôi muốn nhận các thông tin khuyến mãi từ Nagakawa Đăng ký setCheckedRegisBaoMat(!checkedRegisBaoMat)} /> Tôi đồng ý với các chính sách bảo mật Nagakawa Hoặc ); } const winWidth = Dimensions.get('window').width; //full width const winHeight = Dimensions.get('window').height; //full height const styles = StyleSheet.create({ container: { flex: 1, alignItems: 'center', justifyContent: 'center', }, boxRegister: { width: winWidth, minHeight: winHeight - 130, padding: 10, backgroundColor: '#fff', }, boxRegisterTitle: { marginBottom: 20, textAlign: 'center', fontWeight: '700' }, boxRegisterItem: { flexDirection: 'row', alignItems: 'center', borderBottomWidth: 1, borderBottomColor: '#ABABAB', paddingBottom: 5, marginBottom: 10, }, boxRegisterItemIcon: { marginRight: 10, color: '#999' }, boxRegisterItemInput: { width: winWidth - 49, height: 30, }, checkKmRegis: { flexDirection: 'row', marginBottom: 10, marginTop: 10, alignItems: 'center', }, checkKmRegisCheck: { width: 36, height: 36, borderWidth: 1, borderColor: '#e1e1e1', marginRight: 10, }, checkKmRegisText: { width: winWidth - 66, }, boxLoginSubmit: { width: '100%', height: 40, flexDirection: 'row', alignItems: 'center', justifyContent: 'center', borderRadius: 5, overflow: 'hidden', backgroundColor: '#d9282f', marginBottom: 20, }, boxLoginSubmitText: { fontWeight: 'bold', color: '#fff' }, colorGreen: { color: '#008445', }, boxLoginLineChia: { marginBottom: 20, flexDirection: 'row', alignItems: 'center', justifyContent: 'center' }, boxLoginLine: { width: 80, height: 1, backgroundColor: '#e1e1e1', }, boxLoginLineChiaText: { marginHorizontal: 5, color: '#777', fontWeight: '300', }, loginSocial: { flexDirection: 'row', justifyContent: 'center', alignItems: 'center', }, loginSocialItem: { width: 40, height: 40, borderRadius: 20, backgroundColor: '#3B5998', marginHorizontal: 8, flexDirection: 'row', justifyContent: 'center', alignItems: 'center', }, loginSocialItemIcon: { fontSize: 18, color: '#fff' }, loginSocialItemImg: { width: 22, height: 24, }, loginSocialItemFace: {}, loginSocialItemGoogle: { backgroundColor: '#DF4A32', }, loginSocialItemZalo: { backgroundColor: '#0F8EDD' }, });