ClipSync-Mobile/src/App.tsx

68 lines
1.3 KiB
TypeScript

/**
* Sample React Native App
* https://github.com/facebook/react-native
*
* @format
*/
import * as React from 'react';
import {NavigationContainer} from '@react-navigation/native';
import type {PropsWithChildren} from 'react';
import {
SafeAreaView,
ScrollView,
StatusBar,
StyleSheet,
Text,
useColorScheme,
View,
} from 'react-native';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
const Stack = createNativeStackNavigator();
function App(): JSX.Element {
return (
<NavigationContainer>
<Stack.Navigator>
{/* <Stack.Screen
name="Login"
component={LoginScreen}
options={{title: 'Login Screen'}}
/>
<Stack.Screen
name="Home"
component={RemoteClipboard}
options={{title: 'Welcome'}}
/>\
<Stack.Screen
name="Home"
component={LocalClipboard}
options={{title: 'Welcome'}}
/>*/}
</Stack.Navigator>
</NavigationContainer>
);
}
const styles = StyleSheet.create({
sectionContainer: {
marginTop: 32,
paddingHorizontal: 24,
},
sectionTitle: {
fontSize: 24,
fontWeight: '600',
},
sectionDescription: {
marginTop: 8,
fontSize: 18,
fontWeight: '400',
},
highlight: {
fontWeight: '700',
},
});
export default App;