Created
February 21, 2021 21:43
-
-
Save hayanisaid/5ceaee903f701e80d35ef56a81a632b9 to your computer and use it in GitHub Desktop.
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
import React from 'react'; | |
import { | |
SafeAreaView, | |
StyleSheet, | |
ScrollView, | |
TouchableOpacity, | |
View, | |
Text, | |
StatusBar, | |
} from 'react-native'; | |
import Icon from 'react-native-vector-icons/FontAwesome'; | |
const myIcon = <Icon name="rocket" size={30} color="#900" />; | |
const App: () => React$Node = () => { | |
return ( | |
<> | |
<View style={styles.container}> | |
<StatusBar barStyle="dark-content" /> | |
<SafeAreaView> | |
<TouchableOpacity> | |
<Icon name="chevron-left" color="#000" size={20}/> | |
<Text>Click Here</Text> | |
</TouchableOpacity> | |
</SafeAreaView> | |
</View> | |
</> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment