You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
866 B
31 lines
866 B
5 days ago
|
import { StatusBar } from 'expo-status-bar';
|
||
|
import { StyleSheet, Text, View } from 'react-native';
|
||
|
|
||
|
import { GluestackUIProvider } from '@/components/ui/gluestack-ui-provider';
|
||
|
import '@/global.css';
|
||
|
import { SafeAreaView } from 'react-native-safe-area-context';
|
||
|
import { CounterProvider } from './states/ConterProvider';
|
||
|
import IndexPage from './screens/IndexPage';
|
||
|
|
||
|
export default function App() {
|
||
|
return (
|
||
|
<CounterProvider>
|
||
|
<GluestackUIProvider mode="light">
|
||
|
<SafeAreaView style={{ flex: 1 }} className="m-2">
|
||
|
<StatusBar style="auto" />
|
||
|
<IndexPage />
|
||
|
</SafeAreaView>
|
||
|
</GluestackUIProvider>
|
||
|
</CounterProvider>
|
||
|
);
|
||
|
}
|
||
|
|
||
|
const styles = StyleSheet.create({
|
||
|
container: {
|
||
|
flex: 1,
|
||
|
backgroundColor: '#fff',
|
||
|
alignItems: 'center',
|
||
|
justifyContent: 'center',
|
||
|
},
|
||
|
});
|