Skip to content

Instantly share code, notes, and snippets.

@Taofiqq
Last active April 2, 2022 15:09
Show Gist options
  • Save Taofiqq/91b40eae095e5770037a267996ca104b to your computer and use it in GitHub Desktop.
Save Taofiqq/91b40eae095e5770037a267996ca104b to your computer and use it in GitHub Desktop.
import {View, Text, StyleSheet} from 'react-native';
import React from 'react';
const App = () => {
return (
<View style={styles.container}>
<Text style={styles.text}>App</Text>
<Text style={styles.containerText}>App</Text>
</View>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
alignItems: 'center',
justifyContent: 'center',
},
text: {
fontFamily: 'RobotoMono-Regular',
},
containerText: {
fontSize: 20,
fontFamily: 'Poppins-Light',
},
});
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment