mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
First commit
Public timeline working, with refreshing and load more
This commit is contained in:
25
App.jsx
Normal file
25
App.jsx
Normal file
@ -0,0 +1,25 @@
|
||||
import 'react-native-gesture-handler'
|
||||
import { NavigationContainer } from '@react-navigation/native'
|
||||
import { createStackNavigator } from '@react-navigation/stack'
|
||||
|
||||
import React from 'react'
|
||||
import store from './app/store'
|
||||
import { Provider } from 'react-redux'
|
||||
import { StatusBar } from 'expo-status-bar'
|
||||
|
||||
import ScreenTimeline from './screens/Timeline'
|
||||
|
||||
const Stack = createStackNavigator()
|
||||
|
||||
export default function App () {
|
||||
return (
|
||||
<NavigationContainer>
|
||||
<StatusBar style='auto' />
|
||||
<Provider store={store}>
|
||||
<Stack.Navigator>
|
||||
<Stack.Screen name='Timeline' component={ScreenTimeline} />
|
||||
</Stack.Navigator>
|
||||
</Provider>
|
||||
</NavigationContainer>
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user