Skip to content

Instantly share code, notes, and snippets.

@bogdanq
Created January 21, 2020 05:45
Show Gist options
  • Save bogdanq/40d4ae2406ba577bdf034af263f05395 to your computer and use it in GitHub Desktop.
Save bogdanq/40d4ae2406ba577bdf034af263f05395 to your computer and use it in GitHub Desktop.
react-native
import React from 'react'
import { Text, View } from 'react-native'
import { createAppContainer } from 'react-navigation'
import { createBottomTabNavigator } from 'react-navigation-tabs'
import { createStackNavigator } from 'react-navigation-stack'
export const App = createAppContainer(
createStackNavigator({
Home: () => (
<View style={styles.container}>
<Text style={styles.paragraph}>Home Screen</Text>
</View>
),
},
{/** params */})
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment