/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format */ import React from 'react'; import { SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, View, useColorScheme, } from 'react-native'; import {Colors, Header} from 'react-native/Libraries/NewAppScreen'; function App(): React.JSX.Element { const isDarkMode = useColorScheme() === 'dark'; const backgroundStyle = { backgroundColor: isDarkMode ? Colors.darker : Colors.lighter, }; return (
Hello, World! ); } const styles = StyleSheet.create({ title: { fontSize: 24, fontWeight: '600', }, }); export default App;