skip to Main Content

Unable to resolve "./src/screens/authScreens/SignInScreen" from "App.js" – React native

App.js: import { StyleSheet, Text, View, StatusBar } from "react-native"; import { colors, parameters } from "./src/global/styles"; import SignInScreen from "./src/screens/authScreens/SignInScreen"; export default function App() { return ( <View> <StatusBar barStyle="light-content" backgroundColor={colors.statusbar} /> <SignInScreen /> </View> ); } const styles…

VIEW QUESTION

How to use a button in a link in react? – Reactjs

I'm a beginner with react and I have this code: import {NavLink as Link} from 'react-router-dom' return ( <div> {posts.map((actualData, index) => ( <Link to={'/' + actualData.id}> <div className='format_link'> <div className='image_link'> <div className='image'> <img className='images' id={actualData.id} src={getImage(actualData.path, 0)} alt='Italian Trulli'…

VIEW QUESTION

How to use switch case in React? – Reactjs

const Calculatorpage = () => { function calculate() { const firstNum = Number(document.getElementById('firstNum').value) const secondNum = Number(document.getElementById('secondNum').value) const symbol = document.getElementById('symbol').value const result = document.getElementById('result') console.log("im in"); let res switch (symbol) { case "+": res = secondNumber + firstNumber break;…

VIEW QUESTION
Back To Top
Search