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
5500 Sexy Girls 25-Jan-2023 09:04:15 AM
5499 MET Jan25 24-Jan-2023 04:31:51 PM
5498 Test12 Jan25 24-Jan-2023 04:28:55 PM
5497 Test11 Jan25 24-Jan-2023 04:26:33 PM
5496 Test 8jan25 24-Jan-2023 04:24:23 PM
5495 Test 5 Jan25 24-Jan-2023 04:19:18 PM
5494 Test 4 jan 2 24-Jan-2023 04:16:53 PM
5493 Test 3 jan25 24-Jan-2023 04:12:23 PM
5492 Test 2 Jan25 24-Jan-2023 04:01:25 PM
5491 Test 1Jan25 24-Jan-2023 04:00:13 PM
5490 asdf 24-Jan-2023 03:58:57 PM
5489 NHF 24-Jan-2023 03:58:43 PM
5488 asdf 24-Jan-2023 03:58:28 PM
5487 asf 24-Jan-2023 03:58:16 PM
5486 Test 1 Jan24 24-Jan-2023 03:55:40 PM
5485 NHA 24-Jan-2023 03:55:04 PM
5484 NHF 24-Jan-2023 03:54:48 PM
5483 ASDF 24-Jan-2023 03:54:24 PM
5482 ASDF 24-Jan-2023 03:54:06 PM
5481 ASDF 24-Jan-2023 03:53:56 PM
5480 INCEST 20-Jan-2023 08:48:05 AM
5479 MET Jan18 17-Jan-2023 03:49:17 PM
5478 Test12 Jan18 17-Jan-2023 03:46:05 PM
5477 Test11 Jan18 17-Jan-2023 03:43:49 PM
5476 Test8 Jan18 17-Jan-2023 03:41:45 PM
5475 Test5 Jan18 17-Jan-2023 03:39:52 PM
5474 Test4 Jan18 17-Jan-2023 03:37:32 PM
5473 Test3 Jan18 17-Jan-2023 03:35:46 PM
5472 Test2 Jan18 17-Jan-2023 03:33:09 PM
5471 Test1 Jan18 17-Jan-2023 03:30:52 PM

[First] [Prev] 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