skip to Main Content

REACT NATIVE QUESTION TypeError: undefined is not an object (evaluating 'navigation.navigate') …,

App.js (Login) import * as React from 'react'; import {useState} from 'react'; import { Text, StyleSheet, KeyboardAvoidingView, ScrollView, Image, TextInput, TouchableOpacity, View } from 'react-native'; import { CheckBox } from 'react-native-elements'; import {Ionicons} from '@expo/vector-icons' import {statusBar01} from './src/statusBar'; const…

VIEW QUESTION

How can i get Number in onChangeText in React Native

I have created a userInput in React Native const [first_name, setFirstName] = useState(""); (<View style={styles.InputContainer}> <Text>Fisrt Name</Text> <TextInput value={first_name} onChangeText={(text) => setFirstName(text)} placeholder="John" style={styles.textInput} /> </View>;) and first_name is a string and I have another field for which I want…

VIEW QUESTION
Back To Top
Search