Skip to content

Commit 3d75d5f

Browse files
Merge pull request #1177 from GetStream/khushal87-fix-1173
docs: Fix latestMessagePreview typo in ChannelPreview ui-components
2 parents 89775aa + 4404cf3 commit 3d75d5f

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

docusaurus/docs/reactnative/ui-components/channel_preview_message.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ id: channel-preview-message
33
title: ChannelPreviewMessage
44
---
55

6-
import LastMessagePreview from '../common-content/ui-components/channel-preview-messenger/props/last_message_preview.mdx';
6+
import LatestMessagePreview from '../common-content/ui-components/channel-preview-messenger/props/latest_message_preview.mdx';
77

88
Component to render a preview of latest message on channel within the [`ChannelList`](../core-components/channel_list.mdx).
99
This is the default component provided to the prop [`PreviewMessage`](../core-components/channel_list.mdx#preview) on the `ChannelList` component.
1010

1111
## Props
1212

13-
### <div class="label required">required</div> **lastMessagePreview**
13+
### <div class="label required">required</div> **latestMessagePreview**
1414

15-
<LastMessagePreview />
15+
<LatestMessagePreview />

docusaurus/docs/reactnative/ui-components/channel_preview_messenger.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import PreviewStatus from '../common-content/core-components/channel-list/props/
1010
import PreviewTitle from '../common-content/core-components/channel-list/props/preview_title.mdx';
1111
import PreviewUnreadCount from '../common-content/core-components/channel-list/props/preview_unread_count.mdx';
1212

13-
import LastMessagePreview from '../common-content/ui-components/channel-preview-messenger/props/last_message_preview.mdx';
13+
import LatestMessagePreview from '../common-content/ui-components/channel-preview-messenger/props/latest_message_preview.mdx';
1414
import FormatLatestMessageDate from '../common-content/ui-components/channel-preview-messenger/props/format_latest_message_date.mdx';
1515
import MaxUnreadCount from '../common-content/ui-components/channel-preview-messenger/props/max_unread_count.mdx';
1616
import Unread from '../common-content/ui-components/channel-preview-messenger/props/unread.mdx';
@@ -29,9 +29,9 @@ This is the default component provided to the prop [`Preview`](../core-component
2929

3030
<FormatLatestMessageDate />
3131

32-
### lastMessagePreview
32+
### latestMessagePreview
3333

34-
<LastMessagePreview />
34+
<LatestMessagePreview />
3535

3636
### maxUnreadCount
3737

docusaurus/docs/reactnative/ui-components/channel_preview_status.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: channel-preview-status
33
title: ChannelPreviewStatus
44
---
55

6-
import LastMessagePreview from '../common-content/ui-components/channel-preview-messenger/props/last_message_preview.mdx';
6+
import LatestMessagePreview from '../common-content/ui-components/channel-preview-messenger/props/latest_message_preview.mdx';
77
import FormatLatestMessageDate from '../common-content/ui-components/channel-preview-messenger/props/format_latest_message_date.mdx';
88
import Channel from '../common-content/ui-components/channel-preview-messenger/props/channel.mdx';
99

@@ -38,9 +38,9 @@ const CustomPreviewStatus = ({ latestMessagePreview }) => {
3838
3939
<Channel />
4040
41-
### lastMessagePreview
41+
### latestMessagePreview
4242
43-
<LastMessagePreview />
43+
<LatestMessagePreview />
4444
4545
### formatLatestMessageDate
4646

0 commit comments

Comments
 (0)