Last active
October 27, 2016 02:51
-
-
Save dcolucci/b64a5ccea5892b1c5cd5300b0cd94cf6 to your computer and use it in GitHub Desktop.
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 myComponent = () => { | |
return ( | |
<div>Hello, world!</div> | |
); | |
}; | |
const Foo = ({ bar, baz = [], quux }) => { | |
return ( | |
<div className="component-foo"> | |
<a href="/">Home</a> | |
{ /* a whole bunch of other stuff */ } | |
</div> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment