Created
May 7, 2019 14:44
-
-
Save zackshapiro/ae97eda6ae98f23ef16957add806fd4c 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 FriendListItem = gql` | |
fragment FriendListItem on User { | |
firstName | |
lastName | |
avatar { | |
thumbnail | |
} | |
} | |
`; | |
const FriendListRow = props => { | |
return ( | |
<Container> | |
<Avatar source={props.user.thumbnail} /> | |
<NameLabel firstName={props.user.firstName} | |
lastName={props.user.lastName} /> | |
</Container> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment