Skip to content

Instantly share code, notes, and snippets.

@yusinto
Created July 17, 2018 02:09
Show Gist options
  • Save yusinto/840ecdba5ce0d8f4bf85fa11ae2a4e51 to your computer and use it in GitHub Desktop.
Save yusinto/840ecdba5ce0d8f4bf85fa11ae2a4e51 to your computer and use it in GitHub Desktop.
React site nav list snippet
import aboutMeImage from './about-me.png';
// ... other code omitted for brevity
<ul>
<li>
<img src={aboutMeImage} height="40"/>
<span>About me</span>
</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment