1
0
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:
Zhiyuan Zheng
2020-10-22 00:47:02 +02:00
parent fb152fece9
commit 4af19d0588
10 changed files with 587 additions and 22 deletions

25
App.jsx Normal file
View 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>
)
}