Created
December 21, 2017 20:49
-
-
Save acbrent25/9f35d07a2d17d274156c75978fb9502a to your computer and use it in GitHub Desktop.
[React Component] #react
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
import React from 'react' | |
import ReactDOM from 'react-dom' | |
class Hello extends React.Component { | |
render () { | |
return <div className='message-box'> | |
Hello {this.props.name} | |
</div> | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment