Skip to content

Instantly share code, notes, and snippets.

@jslnriot
Last active April 2, 2017 15:00
Show Gist options
  • Save jslnriot/501c292f237e3dee685b0d336da3b181 to your computer and use it in GitHub Desktop.
Save jslnriot/501c292f237e3dee685b0d336da3b181 to your computer and use it in GitHub Desktop.
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