Popular posts from this blog
Style in React Native | Style Type
App.js: - import React , { useState } from 'react' ; import { Text , Button , View , StyleSheet } from 'react-native' ; import Exstyles from './exStyles' ; const App = () => { return ( < View > < Text style = { { fontSize : 30 , backgroundColor : 'green' } } > Style in react native </ Text > < Text style = { styles . textBox } > Style in react native </ Text > < Text style = { styles . textBox } > Style in react native </ Text > < Text style = { Exstyles . textBox } > Style in react native ...
Basic Form in React-Native | form with state
App.js: import React , { useState } from 'react' ; import { Button , StyleSheet , Text , TextInput , View } from 'react-native' const App = () => { const [ name , setName ] = useState ( "" ); const [ password , setPassword ] = useState ( "" ); const [ email , setEmail ] = useState ( "" ); const [ display , setDisplay ] = useState ( false ); const resetFormData = () => { setDisplay ( false ); setName ( "" ); setPassword ( "" ); setEmail ( "" ); } return ( < View style = { { margin : 5 } } > < Text style = { { fontSize : 30 } } > Simple Form in React Native </ Text > < TextInput style = { styles . textInput } placeh...























































































Comments
Post a Comment