Last active
January 14, 2017 17:49
-
-
Save npverni/3cada9c466faa29fc211f018971cb893 to your computer and use it in GitHub Desktop.
Creating a Stateless Functional React component with implicit return
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 = props => | |
<div> | |
<h1>{props.name}</h1> | |
<p>{props.bio}</p> | |
</div>; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment