File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
docusaurus/docs/reactnative/ui-components
package/src/components/MessageOverlay Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ List of existing reactions which can be extracted from a message.
2424``` tsx
2525const reactions = message .latest_reactions .map (reaction => ({
2626 alignment: clientId && clientId === reaction .user ?.id ? ' right' : ' left' ,
27+ id: reaction ?.user ?.id || ' ' ,
2728 image: reaction ?.user ?.image ,
2829 name: reaction ?.user ?.name || reaction .user_id || ' ' ,
2930 type: reaction .type ,
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ const reactionData: ReactionData[] = [
9696
9797export type Reaction = {
9898 alignment : Alignment ;
99+ id : string ;
99100 name : string ;
100101 type : string ;
101102 image ?: string ;
You can’t perform that action at this time.
0 commit comments