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'; export default function Register() { const [checkedRegis, setCheckedRegis] = useState(false); const navigation = useNavigation(); return ( Tạo tài khoản Nagakawa Bạn đã có tài khoản? navigation.navigate('Login')}> Đăng nhập tại đây Số điện thoại* Email đăng ký* Địa chỉ* Mật khẩu* Nhập lại mật khẩu* Họ tên* Mã xác nhận [ Xem mã khác ] setCheckedRegis(!checkedRegis)} /> Tôi muốn nhận các thông tin khuyến mãi từ Nagakawa Đăng ký Hoặc đăng nhập bằng ); } 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, padding: 10, backgroundColor: 'rgba(0,0,0,0)', }, boxRegisterTitle: { marginBottom: 15, fontSize: 18, fontWeight: 'bold', }, boxRegisterNote: { marginBottom: 10, flexDirection: 'row', justifyContent: 'flex-end', alignItems: 'center', backgroundColor: 'rgba(0,0,0,0)' }, green: { color: '#008445', }, boxRegisterList: { width: '100%', padding: 10, }, boxRegisterItem: { width: '100%', marginBottom: 10, }, boxRegisterItemText: { fontWeight: 'bold', marginBottom: 5, }, boxRegisterItemInput: { width: '100%', height: 40, borderColor: '#e1e1e1', borderWidth: 1, borderRadius: 5, }, boxRegisterCapcha: { flexDirection: 'row', alignItems: 'center', }, boxRegisterCapchaOther: {}, checkKmRegis: { flexDirection: 'row', marginBottom: 10, marginTop: 10, }, checkKmRegisCheck: { width: 36, height: 36, borderWidth: 1, borderColor: '#e1e1e1', marginRight: 10, }, checkKmRegisText: {}, boxLoginSubmit: { width: '100%', height: 40, flexDirection: 'row', alignItems: 'center', justifyContent: 'center', borderRadius: 5, overflow: 'hidden', backgroundColor: '#d9282f', marginBottom: 20, }, boxLoginSubmitText: { fontWeight: 'bold', color: '#fff' }, boxLoginOther: { marginBottom: 20, flexDirection: 'row', justifyContent: 'center', }, boxLoginOtherText: {}, boxLoginSocial: { flexDirection: 'row', justifyContent: 'center', alignItems: 'center', }, boxLoginSocialItem: { width: 34, height: 34, flexDirection: 'row', justifyContent: 'center', alignItems: 'center', borderRadius: 5, marginHorizontal: 5, backgroundColor: '#3b5998', }, boxLoginSocialFace: {}, boxLoginSocialGoogle: { backgroundColor: '#df4a32', }, boxLoginSocialZalo: { backgroundColor: '#0f8edd', }, boxLoginSocialIcon: { fontSize: 16, color: '#fff', }, boxLoginSocialImg: { width: 16, height: 16, }, });