Skip to content

Instantly share code, notes, and snippets.

@ecdundar
Created February 25, 2019 07:24
Show Gist options
  • Save ecdundar/935148e77be7a6e23f2060fd01630fa2 to your computer and use it in GitHub Desktop.
Save ecdundar/935148e77be7a6e23f2060fd01630fa2 to your computer and use it in GitHub Desktop.
BBText
import React from 'react';
import { TouchableHighlight, Text, StyleSheet } from 'react-native';
const BBText = props => {
return <Text style={styles.text}>{props.text}</Text>;
};
const styles = StyleSheet.create({
text: {
color: '#111825',
fontSize: 18,
marginTop: 16,
marginLeft: 35,
marginRight: 35,
},
});
export default BBText;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment