Skip to content

Instantly share code, notes, and snippets.

@bogdanq
Last active April 12, 2023 09:20
Show Gist options
  • Save bogdanq/96b55bcacbce5749664bcd0a00a787bf to your computer and use it in GitHub Desktop.
Save bogdanq/96b55bcacbce5749664bcd0a00a787bf 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'
const app = createStackNavigator({
Home: () => (
<View style={styles.container}>
<Text style={styles.paragraph}>Home Screen</Text>
</View>
),
})
const unregistred = createStackNavigator({
Home: () => (
<View style={styles.container}>
<Text style={styles.paragraph}>Home Screen</Text>
</View>
),
})
export const App = createBottomTabNavigator({
app,
unregistred
},
{/** Some params*/})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment