Skip to content

Commit 11af19a

Browse files
authored
Merge pull request #775 from GetStream/add-missing-exports
Add missing exports
2 parents 53b6308 + dd44535 commit 11af19a

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## [4.1.3](https://github.com/GetStream/stream-chat-react/releases/tag/v4.1.3) 2021-03-12
4+
5+
### Chore
6+
7+
- Remove legacy example apps [#766](https://github.com/GetStream/stream-chat-react/pull/766)
8+
- Handle soft deleted messages in `VirtualizedMessageList` [#773](https://github.com/GetStream/stream-chat-react/pull/773)
9+
10+
### Bug
11+
12+
- Add missing ChannelPreview helpers to exports [#775](https://github.com/GetStream/stream-chat-react/pull/775)
13+
314
## [4.1.2](https://github.com/GetStream/stream-chat-react/releases/tag/v4.1.2) 2021-03-09
415

516
### Feature

types/index.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,19 @@ export const LoadMorePaginator: React.FC<LoadMorePaginatorProps>;
14101410
export const InfiniteScrollPaginator: React.FC<InfiniteScrollPaginatorProps>;
14111411
export const LoadingIndicator: React.FC<LoadingIndicatorProps>;
14121412

1413+
export const getDisplayTitle: (
1414+
channel: Client.Channel,
1415+
currentUser: Client.UserResponse,
1416+
) => string | undefined;
1417+
export const getDisplayImage: (
1418+
channel: Client.Channel,
1419+
currentUser: Client.UserResponse,
1420+
) => string | undefined;
1421+
export const getLatestMessagePreview: (
1422+
channel: Client.Channel,
1423+
t: i18next.TFunction,
1424+
) => string | undefined;
1425+
14131426
export interface MessageCommerceProps
14141427
extends Omit<MessageUIComponentProps, 'EditMessageForm'> {}
14151428
export const MessageCommerce: React.FC<MessageCommerceProps>;

0 commit comments

Comments
 (0)