Created
December 27, 2018 06:43
-
-
Save Adron/19c0abb920fbe33ef930582921a0335f to your computer and use it in GitHub Desktop.
React stuffs.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ShoppingList extends React.Component { | |
render() { | |
return ( | |
<div className="shopping-list"> | |
<h1>Shopping List for {this.props.name}</h1> | |
<ul> | |
<li>Instagram</li> | |
<li>WhatsApp</li> | |
<li>Oculus</li> | |
</ul> | |
</div> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment