Last active
September 8, 2019 16:00
-
-
Save flopshot/72a3d1363dff558a2809a42b6d05149d to your computer and use it in GitHub Desktop.
App Component of WhiteLabelDemo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// App.tsx | |
import React from 'react'; | |
import { SafeAreaView, Text, View } from 'react-native'; | |
import appStyle from './AppTheme' | |
import whiteLabelConfig from './whitelabel/WhiteLabelConfig'; | |
const app = () => ( | |
<SafeAreaView style={appStyle.screen}> | |
<Text style={appStyle.title}> | |
{whiteLabelConfig.APP_NAME} App | |
</Text> | |
<View style={appStyle.container}> | |
<View style={appStyle.greeting}> | |
<Text style={appStyle.greetingText}>{whiteLabelConfig.GREETING_TEXT}</Text> | |
</View> | |
</View> | |
</SafeAreaView> | |
); | |
export default app; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment