Skip to content

Instantly share code, notes, and snippets.

@hayanisaid
Created February 21, 2021 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hayanisaid/5ceaee903f701e80d35ef56a81a632b9 to your computer and use it in GitHub Desktop.
Save hayanisaid/5ceaee903f701e80d35ef56a81a632b9 to your computer and use it in GitHub Desktop.
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