Copy and Paste  -   An Application to Copy/Paste Text  

 
S.No 5364 Name aa Date/Time 24-Nov-2022 09:26:50 AM

Copy text from below
import * as React from 'react';
import { Button, Text, View } from 'react-native';
import { NavigationContainer } from '@react-navigation/native';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
function DetailsScreen() {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>Details!</Text>
</View>
);
}
function HomeScreen({ navigation }) {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>Home screen</Text>
<Button
title="Go to Details

"
onPress={() => navigation.navigate('Details')}
/>
</View>
);
}
function SettingsScreen({ navigation }) {
return (
<View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
<Text>Settings screen</Text>
99
<Button
title="Go to Details"
onPress={() => navigation.navigate('Details')}
/>
</View>
);
}
const HomeStack = createNativeStackNavigator();
function HomeStackScreen() {
return (
<HomeStack.Navigator>
<HomeStack.Screen name="Home" component={HomeScreen} />
<HomeStack.Screen name="Details" component={DetailsScreen} />
</HomeStack.Navigator>
);
}
const SettingsStack = createNativeStackNavigator();
function SettingsStackScreen() {
return (
<SettingsStack.Navigator>
<SettingsStack.Screen name="Settings" component={SettingsScreen} />
<SettingsStack.Screen name="Details" component={DetailsScreen} />
</SettingsStack.Navigator>
);
}
const Tab = createBottomTabNavigator();
export default function App() {
return (
<NavigationContainer>
<Tab.Navigator screenOptions={{ headerShown: false }}>
<Tab.Screen name="Home" component={HomeStackScreen} />
<Tab.Screen name="Settings" component={SettingsStackScreen} />
</Tab.Navigator>
</NavigationContainer>
);
}




comments powered by Disqus
NEW ENTRIES
S.No Name Entry Time/Date
5549 MET Feb8 07-Feb-2023 04:25:44 PM
5548 Test12 Feb8 07-Feb-2023 04:24:15 PM
5547 Test8 Feb8 07-Feb-2023 04:21:12 PM
5546 Test11 Feb8 07-Feb-2023 04:20:25 PM
5545 Test5 Feb8 07-Feb-2023 04:17:39 PM
5544 Test4 Feb8 07-Feb-2023 04:16:37 PM
5543 Test3 Feb8 07-Feb-2023 04:13:50 PM
5542 Test 2 Feb8 07-Feb-2023 04:11:23 PM
5541 Test 1 Feb8 07-Feb-2023 04:07:22 PM
5540 rstf 07-Feb-2023 04:06:59 PM
5539 anf 07-Feb-2023 04:06:42 PM
5538 pplgc 07-Feb-2023 04:06:30 PM
5537 nfwa 07-Feb-2023 04:06:17 PM
5536 asdf 07-Feb-2023 04:05:56 PM
5535 asdf 07-Feb-2023 04:05:46 PM
5534 paf 07-Feb-2023 04:05:35 PM
5533 npshf 07-Feb-2023 04:05:24 PM
5532 asdf 07-Feb-2023 04:05:09 PM
5531 HOT SEXY 07-Feb-2023 08:35:42 AM
5530 . 06-Feb-2023 08:19:39 PM
5529 Korea Sexy 02-Feb-2023 09:16:33 AM
5528 MET Feb1 31-Jan-2023 08:35:06 PM
5527 Test12 Feb1 31-Jan-2023 08:30:52 PM
5526 Test11 Feb1 31-Jan-2023 08:13:39 PM
5525 Test 8 Feb1 31-Jan-2023 08:06:15 PM
5524 Test5 Feb1 31-Jan-2023 07:58:32 PM
5523 Test 4 Feb1 31-Jan-2023 07:55:20 PM
5522 Test 3 feb1 31-Jan-2023 07:51:14 PM
5521 Test 2 Feb1 31-Jan-2023 07:47:23 PM
5520 Test 1 feb1 31-Jan-2023 07:46:16 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