Last active
June 24, 2019 22:55
-
-
Save MrMjauh/11e063d8aae9a4fc1fc81e52297b3698 to your computer and use it in GitHub Desktop.
PartRender.tsx
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
renderUsers(): any { | |
return ( | |
<div className="result"> | |
{ | |
this.props.result.map((user: User) => { | |
return ( | |
<Card | |
key={user.id} | |
title={user.name} | |
avatar={user.avatarURL} | |
banner={user.bannerURL} | |
/> | |
); | |
}); | |
} | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment