Last active
April 2, 2017 15:00
-
-
Save jslnriot/501c292f237e3dee685b0d336da3b181 to your computer and use it in GitHub Desktop.
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, { Component } from 'react'; | |
class Welcome extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { message: 'Welcome to the Welcome Page!'}; | |
} | |
render() { | |
return ( | |
<div className="welcome-component"> | |
{this.state.message} | |
</div> | |
); | |
} | |
} | |
export default Welcome; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment