بناء شاشة تسجيل دخول — تحدي React
أنشئ شاشة تسجيل دخول جميلة مع حقول البريد وكلمة المرور
import React, { useState } from 'react';
import { View, Text, TextInput, TouchableOpacity, StyleSheet } from 'react-native';
export default function LoginScreen() {
// أكمل الكود هنا
return (
<View style={styles.container}>
{/* أضف حقول الإدخال والزر */}
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
padding: 20,
justifyContent: 'center',
},
});حل هذا التحدي يرتبط بفتح دورة «React Native المتقدم» بحسابك.
ابدأ الحل