Created
March 5, 2020 17:54
-
-
Save bogoslavskiy/56f07d57a5058aceedb6c75186658920 to your computer and use it in GitHub Desktop.
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
import React from 'react' | |
import { View } from 'react-native'; | |
import { gql } from '@apollo/client'; | |
export const MessageItemFragment = gql` | |
fragment MessageItem on Message { | |
_id | |
sender_id | |
senderName | |
text | |
date | |
} | |
`; | |
interface MessageItemProps { | |
} | |
export const MessageItem: React.FC<MessageItemProps> = ({}) => ( | |
<View /> | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment