Created
August 30, 2017 15:09
-
-
Save samueljmurray/e46830049aede364163eed7437d4e397 to your computer and use it in GitHub Desktop.
HeadingText component
This file contains hidden or 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
| /* 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