Skip to content

Commit

Permalink
fix: jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
myandrienko committed May 21, 2024
1 parent ce563b0 commit 91cfbee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Message/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export type MessageProps<
) => JSX.Element | null;
/** Custom retry send message handler to override default in [ChannelActionContext](https://getstream.io/chat/docs/sdk/react/contexts/channel_action_context/) */
retrySendMessage?: ChannelActionContextValue<StreamChatGenerics>['retrySendMessage'];
/** Comparator function to sort the list of reacted users, defaults to alphabetical order
/** Comparator function to sort the list of reacted users
* @deprecated use `reactionDetailsSort` instead
*/
sortReactionDetails?: ReactionDetailsComparator;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Reactions/ReactionsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export type ReactionsListProps<
reactions?: ReactionResponse<StreamChatGenerics>[];
/** Display the reactions in the list in reverse order, defaults to false */
reverse?: boolean;
/** Comparator function to sort the list of reacted users, defaults to alphabetical order
/** Comparator function to sort the list of reacted users
* @deprecated use `reactionDetailsSort` instead
*/
sortReactionDetails?: ReactionDetailsComparator;
Expand Down
2 changes: 1 addition & 1 deletion src/context/MessageContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export type MessageContextValue<
mentioned_users?: UserResponse<StreamChatGenerics>[],
options?: RenderTextOptions,
) => JSX.Element | null;
/** Comparator function to sort the list of reacted users, defaults to alphabetical order
/** Comparator function to sort the list of reacted users
* @deprecated use `reactionDetailsSort` instead
*/
sortReactionDetails?: ReactionDetailsComparator;
Expand Down

0 comments on commit 91cfbee

Please sign in to comment.