Created
December 21, 2020 03:19
-
-
Save mp5maker/e38011e48e832faedc3f7fe19b88a662 to your computer and use it in GitHub Desktop.
expo-app/App.tsx
This file contains hidden or 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
import { StatusBar } from 'expo-status-bar'; | |
import React from 'react'; | |
import { StyleSheet, Text, View } from 'react-native'; | |
import { adder } from '@web/utilities/adder' | |
export default function App() { | |
console.log(adder(1, 2)) // 3 | |
return ( | |
<View style={styles.container}> | |
<Text>Open up App.tsx to start working on your app!</Text> | |
<StatusBar style="auto" /> | |
</View> | |
); | |
} | |
const styles = StyleSheet.create({ | |
container: { | |
flex: 1, | |
backgroundColor: '#fff', | |
alignItems: 'center', | |
justifyContent: 'center', | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment