initial add
This commit is contained in:
parent
2756a93231
commit
62951d0b80
13 changed files with 5825 additions and 0 deletions
28
App.js
Executable file
28
App.js
Executable file
|
@ -0,0 +1,28 @@
|
|||
// Nav stuff
|
||||
|
||||
import { createAppContainer } from 'react-navigation';
|
||||
import { createStackNavigator } from 'react-navigation-stack';
|
||||
|
||||
// Screens one per file to keep things clean
|
||||
|
||||
import HomeScreen from './src/screens/HomeScreen';
|
||||
import AboutScreen from './src/screens/AboutScreen';
|
||||
import SettingsScreen from './src/screens/SettingsScreen';
|
||||
import FilesScreen from './src/screens/FilesScreen';
|
||||
|
||||
// Clean up of code before I fix the last little issue with it
|
||||
|
||||
|
||||
const AppNavigator = createStackNavigator(
|
||||
{
|
||||
Home: HomeScreen,
|
||||
About: AboutScreen,
|
||||
Files: FilesScreen,
|
||||
Settings: SettingsScreen,
|
||||
},
|
||||
{
|
||||
initialRouteName: 'Home',
|
||||
}
|
||||
);
|
||||
|
||||
export default createAppContainer(AppNavigator);
|
Loading…
Add table
Add a link
Reference in a new issue