Skip to content

Instantly share code, notes, and snippets.

@zackshapiro
Created May 7, 2019 14:44
Show Gist options
  • Save zackshapiro/ae97eda6ae98f23ef16957add806fd4c to your computer and use it in GitHub Desktop.
Save zackshapiro/ae97eda6ae98f23ef16957add806fd4c to your computer and use it in GitHub Desktop.
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