Last active
January 14, 2017 17:40
-
-
Save npverni/108748490c27c117b4f9af011b9b51a5 to your computer and use it in GitHub Desktop.
Creating a Stateless Functional React Component
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
const Profile = ({ name, bio }) => | |
<div> | |
<h1>{name}</h1> | |
<p>{bio}</p> | |
</div>; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment