Created
August 8, 2020 12:50
-
-
Save Gogetter/907ad95296de31c415990ddaf89fb47b to your computer and use it in GitHub Desktop.
profile js file for reactjs-soujourn blog post
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
import React from "react" | |
import Avatar from "../avatar/Avatar" | |
function Profile(props) { | |
return ( | |
<div className="container"> | |
<Avatar | |
avatarData = {{imageUrl: props.avatar_url, | |
imageAlt: props.login}} | |
avatarDetailData ={{joinedDate: props.created_at, | |
pageUrl: props.html_url, | |
name: props.name}} | |
/> | |
</div> | |
); | |
} | |
export default Profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment