Created
January 2, 2017 19:16
-
-
Save Chryus/ce9eac448f62a038e8f86613dd58ef0e to your computer and use it in GitHub Desktop.
React avatar component
This file contains hidden or 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
function Avatar(props) { | |
return ( | |
<div> | |
<ProfilePic imageUrl={props.user.image} /> | |
<ProfileName name={props.user.name} /> | |
<ProfileLink username={props.user.username} /> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment