Skip to content

Instantly share code, notes, and snippets.

@samueljmurray
Created August 30, 2017 15:09
Show Gist options
  • Select an option

  • Save samueljmurray/e46830049aede364163eed7437d4e397 to your computer and use it in GitHub Desktop.

Select an option

Save samueljmurray/e46830049aede364163eed7437d4e397 to your computer and use it in GitHub Desktop.
HeadingText component
/* HeadingText.js */
const styles = StyleSheet.create({
text: {
fontFamily: "UnreadableSans",
fontSize: 24,
fontWeight "500",
},
});
class HeadingText extends React.Component {
render() {
return (
<Text
style={ styles.text }
{ ...this.props }
/>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment