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',
  },
});
