react-native-app / App.tsx
3v324v23's picture
initial commit
692fef9
raw
history blame contribute delete
482 Bytes
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, View } from 'react-native';
import { MainScreen } from './src/components/MainScreen';
/**
* 应用根组件 - 引入主屏幕
*/
export default function App() {
return (
<View style={styles.container}>
{/* 渲染主屏幕 */}
<MainScreen />
<StatusBar style="auto" />
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
},
});