Skip to content

Instantly share code, notes, and snippets.

@suzdalnitski
Last active August 12, 2018 15:31
Show Gist options
  • Save suzdalnitski/e65f7a1d5ff416c5eaa5ad98c8a30a92 to your computer and use it in GitHub Desktop.
Save suzdalnitski/e65f7a1d5ff416c5eaa5ad98c8a30a92 to your computer and use it in GitHub Desktop.
Simple React Class Component
class MyComponent extends React.Component {
render() {
return (
<div>
<h1>Hi, {this.props.name}</h1>
</div>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment