Skip to content

Instantly share code, notes, and snippets.

@nfons

nfons/sample.js

Last active Dec 31, 2019
Embed
What would you like to do?
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
You can’t perform that action at this time.