Skip to content

Instantly share code, notes, and snippets.

@nayunhwan
Created December 28, 2016 07:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nayunhwan/ca84d6a680ea716349f7166423158b05 to your computer and use it in GitHub Desktop.
Save nayunhwan/ca84d6a680ea716349f7166423158b05 to your computer and use it in GitHub Desktop.
function Welcome(props) {
return <h1>Hello, {props.name}</h1>;
}
function App() {
return (
<div>
<Welcome name="Sara" />
<Welcome name="Cahal" />
<Welcome name="Edite" />
</div>
);
}
ReactDOM.render(
<App />,
document.getElementById('root')
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment