Created
September 2, 2015 01:55
-
-
Save humaan/cc239ef1255b32adcfd2 to your computer and use it in GitHub Desktop.
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
// Import React and HelloText class | |
import React from 'react'; | |
import HelloText from './HelloText'; | |
// Create class called HelloBox that extends the base React Component class | |
export default class HelloBox extends React.Component { | |
constructor() { | |
super(); | |
} | |
render() { | |
return <div> | |
<HelloText name="Dan" /> | |
</div> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment