Copy and Paste  -   An Application to Copy/Paste Text  

 
S.No 5336 Name aabbcc Date/Time 27-Oct-2022 11:02:52 AM

Copy text from below
import * as React from 'react';



import { Button, View, Text,StyleSheet, Image, StatusBar, TextInput} from 'react-native';



import { NavigationContainer } from '@react-navigation/native';



import { createNativeStackNavigator } from '@react-navigation/native-stack';



import {TouchableOpacity} from "react-native";

 

 function LoginScreen({navigation}) {

 

  return (

    <View style={styles.container}>

      <Image style={styles.image} source={require("./assets/logo.webp")} />

 

      <StatusBar style="auto" />

      <View style={styles.inputView}>

        <TextInput

          style={styles.TextInput}

          placeholder="Username"

        />

      </View>

 

      <View style={styles.inputView}>

        <TextInput

          style={styles.TextInput}

          placeholder="Password."

        />

      </View>

 

      <TouchableOpacity>

        <Text style={styles.forgot_button}>Forgot Password?</Text>

      </TouchableOpacity>

 

      <TouchableOpacity style={styles.loginBtn}

         onPress={() => navigation.navigate('Home')}>

        <Text style={styles.loginText}>LOGIN

        </Text>

      </TouchableOpacity>

    </View>

  );

}

 

const styles = StyleSheet.create({

  container: {

    flex: 1,
    padding: 40,

    backgroundColor: "white",

    alignItems: "center",

    justifyContent: "center",

  },

 

  image: {
    marginTop:40,

    marginBottom: 40,

    width: 100,

    height: 100,

  },

 

  inputView: {

    borderWidth:2,

    borderRadius: 20,

    width: "70%",

    height: 40,

    marginBottom: 20,

 

    alignItems: "center",

  },

 

  TextInput: {

    height: 40,

    flex: 1,

    padding: 10,

    marginLeft: 20,

  },

 

  forgot_button: {

    height: 30,

    marginBottom: 20,


  },

 

  loginBtn: {

    width: "40%",

    borderRadius: 20,

    height: 40,

    alignItems: "center",

    justifyContent: "center",

    marginTop: 15,

    borderWidth:2,

  },

});

function HomeScreen({ navigation }) {



return (



  <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>



 



  </View>



);



}



const Stack = createNativeStackNavigator();



function App() {



return (



<NavigationContainer>



    <Stack.Navigator initialRouteName="Login">



    <Stack.Screen name="Login" component={LoginScreen} />



    <Stack.Screen name="Home" component={HomeScreen} />



    </Stack.Navigator>



</NavigationContainer>



);

}

export default App;




comments powered by Disqus
NEW ENTRIES
S.No Name Entry Time/Date
5650 repo 18-Mar-2023 05:50:40 PM
5649 MET 17 MAR 17-Mar-2023 12:56:12 PM
5648 MET OL 17 17-Mar-2023 12:55:17 PM
5647 Test 11 Mar1 15-Mar-2023 03:14:56 PM
5646 Test 1 15-Mar-2023 01:01:41 PM
5645 Test 1 14-Mar-2023 12:26:27 PM
5644 MET 14 March 14-Mar-2023 09:42:12 AM
5643 Test 1 13-Mar-2023 12:49:03 PM
5642 Test 2 Mar13 13-Mar-2023 10:02:33 AM
5641 09-Mar-2023 04:23:35 PM
5640 CHILD SEXY 09-Mar-2023 08:09:59 AM
5639 . 08-Mar-2023 05:03:21 PM
5638 07-Mar-2023 02:03:15 PM
5637 MS 07-Mar-2023 11:21:53 AM
5636 SEXY GIRLS 06-Mar-2023 08:35:18 AM
5635 test 1 03-Mar-2023 02:35:15 PM
5634 PHD Mar 3 02-Mar-2023 09:58:42 PM
5633 MET Mar 3 02-Mar-2023 09:58:01 PM
5632 Test12 Mar 3 02-Mar-2023 09:57:18 PM
5631 Test 11 Mar3 02-Mar-2023 09:50:54 PM
5630 Test 8 Mar 3 02-Mar-2023 09:45:38 PM
5629 Test 3 Mar 3 02-Mar-2023 09:39:33 PM
5628 Test 2 Mar 3 02-Mar-2023 09:34:35 PM
5627 Test 1 Mar 3 02-Mar-2023 09:31:07 PM
5626 Test 8 Mar 2 01-Mar-2023 07:58:21 PM
5625 Test 3 Mar 2 01-Mar-2023 07:57:36 PM
5624 Test 2 Mar 2 01-Mar-2023 07:56:55 PM
5623 Test 1 Mar 2 01-Mar-2023 07:56:17 PM
5622 MET March 1 28-Feb-2023 09:28:19 PM
5621 Test 5 Mar1 28-Feb-2023 09:24:26 PM

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 [Next] [Last]
 
web counter
web counter


To report any error messages or bugs, or other issues, please send email at: info@pakproject.com