Skip to content

Instantly share code, notes, and snippets.

@nfons
Last active December 31, 2019 18:26
Show Gist options
  • Save nfons/cbf36c0d8c883fa1e09332606565e842 to your computer and use it in GitHub Desktop.
Save nfons/cbf36c0d8c883fa1e09332606565e842 to your computer and use it in GitHub Desktop.
test react comp
import React from 'react'
export default class MySampleComponent extends React.Component {
render() {
return <h1> Hello Nate, Welcome to {this.props.name}</h1>;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment