Created
August 30, 2017 16:13
-
-
Save samueljmurray/a5ce0ec17cb96819267aea64a0d9d39c to your computer and use it in GitHub Desktop.
Component using HeadingText
This file contains 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
/* MyComponent.js */ | |
import HeadingText from "HeadingText"; | |
class MyComponent extends React.Component { | |
render() { | |
return ( | |
<View> | |
<HeadingText>Article heading</HeadingText> | |
<Text>Article body...</Text> | |
</View> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment