Skip to content

Commit 7739142

Browse files
Updated links to styleguidist
1 parent 2bd675a commit 7739142

File tree

10 files changed

+34
-34
lines changed

10 files changed

+34
-34
lines changed

docs/v3/build/bundle.88278e85.js renamed to docs/v3/build/bundle.132b34d7.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/v3/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
</head>
1010
<body>
1111
<div id="rsg-root"></div>
12-
<script src="build/bundle.88278e85.js"></script>
12+
<script src="build/bundle.132b34d7.js"></script>
1313
</body>
1414
</html>

src/components/ChannelList/ChannelList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export type ChannelListProps<
9595
/**
9696
* Custom UI component to display the list of channels
9797
*
98-
* Default: [ChannelListMessenger](https://getstream.github.io/stream-chat-react-native/#channellistmessenger)
98+
* Default: [ChannelListMessenger](https://getstream.github.io/stream-chat-react-native/v3/#channellistmessenger)
9999
*/
100100
List?: React.ComponentType<
101101
ChannelListMessengerProps<At, Ch, Co, Ev, Me, Re, Us>

src/components/MessageInput/MessageInput.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -747,11 +747,11 @@ export type MessageInputProps<
747747
/**
748748
* UI Component for message input
749749
* It's a consumer of
750-
* [Channel Context](https://getstream.github.io/stream-chat-react-native/#channelcontext),
751-
* [Chat Context](https://getstream.github.io/stream-chat-react-native/#chatcontext),
752-
* [MessageInput Context](https://getstream.github.io/stream-chat-react-native/#messageinputcontext),
753-
* [Suggestions Context](https://getstream.github.io/stream-chat-react-native/#suggestionscontext), and
754-
* [Translation Context](https://getstream.github.io/stream-chat-react-native/#translationcontext)
750+
* [Channel Context](https://getstream.github.io/stream-chat-react-native/v3/#channelcontext),
751+
* [Chat Context](https://getstream.github.io/stream-chat-react-native/v3/#chatcontext),
752+
* [MessageInput Context](https://getstream.github.io/stream-chat-react-native/v3/#messageinputcontext),
753+
* [Suggestions Context](https://getstream.github.io/stream-chat-react-native/v3/#suggestionscontext), and
754+
* [Translation Context](https://getstream.github.io/stream-chat-react-native/v3/#translationcontext)
755755
*/
756756
export const MessageInput = <
757757
At extends DefaultAttachmentType = DefaultAttachmentType,

src/components/MessageList/MessageList.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,11 +229,11 @@ type MessageListPropsWithContext<
229229
/**
230230
* The message list component renders a list of messages. It consumes the following contexts:
231231
*
232-
* [ChannelContext](https://getstream.github.io/stream-chat-react-native/#channelcontext)
233-
* [ChatContext](https://getstream.github.io/stream-chat-react-native/#chatcontext)
234-
* [MessagesContext](https://getstream.github.io/stream-chat-react-native/#messagescontext)
235-
* [ThreadContext](https://getstream.github.io/stream-chat-react-native/#threadcontext)
236-
* [TranslationContext](https://getstream.github.io/stream-chat-react-native/#translationcontext)
232+
* [ChannelContext](https://getstream.github.io/stream-chat-react-native/v3/#channelcontext)
233+
* [ChatContext](https://getstream.github.io/stream-chat-react-native/v3/#chatcontext)
234+
* [MessagesContext](https://getstream.github.io/stream-chat-react-native/v3/#messagescontext)
235+
* [ThreadContext](https://getstream.github.io/stream-chat-react-native/v3/#threadcontext)
236+
* [TranslationContext](https://getstream.github.io/stream-chat-react-native/v3/#translationcontext)
237237
*/
238238
const MessageListWithContext = <
239239
At extends UnknownType = DefaultAttachmentType,

src/components/Thread/Thread.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ type ThreadPropsWithContext<
7979
Pick<TranslationContextValue, 't'> & {
8080
/**
8181
* Additional props for underlying MessageInput component.
82-
* Available props - https://getstream.github.io/stream-chat-react-native/#messageinput
82+
* Available props - https://getstream.github.io/stream-chat-react-native/v3/#messageinput
8383
* */
8484
additionalMessageInputProps?: Partial<
8585
MessageInputProps<At, Ch, Co, Ev, Me, Re, Us>
8686
>;
8787
/**
8888
* Additional props for underlying MessageList component.
89-
* Available props - https://getstream.github.io/stream-chat-react-native/#messagelist
89+
* Available props - https://getstream.github.io/stream-chat-react-native/v3/#messagelist
9090
* */
9191
additionalMessageListProps?: Partial<
9292
MessageListProps<At, Ch, Co, Ev, Me, Re, Us>
@@ -99,7 +99,7 @@ type ThreadPropsWithContext<
9999
disabled?: boolean;
100100
/**
101101
* **Customized MessageInput component to used within Thread instead of default MessageInput
102-
* **Available from [MessageInput](https://getstream.github.io/stream-chat-react-native/#messageinput)**
102+
* **Available from [MessageInput](https://getstream.github.io/stream-chat-react-native/v3/#messageinput)**
103103
*/
104104
MessageInput?: React.ComponentType<
105105
MessageInputProps<At, Ch, Co, Ev, Me, Re, Us>
@@ -264,7 +264,7 @@ export type ThreadProps<
264264
* Thread - The Thread renders a parent message with a list of replies. Use the standard message list of the main channel's messages.
265265
* The thread is only used for the list of replies to a message.
266266
*
267-
* Thread is a consumer of [channel context](https://getstream.github.io/stream-chat-react-native/#channelcontext)
267+
* Thread is a consumer of [channel context](https://getstream.github.io/stream-chat-react-native/v3/#channelcontext)
268268
* Underlying MessageList, MessageInput and Message components can be customized using props:
269269
* - additionalMessageListProps
270270
* - additionalMessageInputProps

src/contexts/channelsContext/ChannelsContext.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export type ChannelsContextValue<
6363
/**
6464
* Custom indicator to use when channel list is empty
6565
*
66-
* Default: [EmptyStateIndicator](https://getstream.github.io/stream-chat-react-native/#emptystateindicator)
66+
* Default: [EmptyStateIndicator](https://getstream.github.io/stream-chat-react-native/v3/#emptystateindicator)
6767
* */
6868
EmptyStateIndicator: React.ComponentType<EmptyStateProps>;
6969
/**
@@ -73,7 +73,7 @@ export type ChannelsContextValue<
7373
/**
7474
* Custom loading indicator to display at bottom of the list, while loading further pages
7575
*
76-
* Default: [ChannelListFooterLoadingIndicator](https://getstream.github.io/stream-chat-react-native/#ChannelListFooterLoadingIndicator)
76+
* Default: [ChannelListFooterLoadingIndicator](https://getstream.github.io/stream-chat-react-native/v3/#ChannelListFooterLoadingIndicator)
7777
*/
7878
FooterLoadingIndicator: React.ComponentType;
7979
/**
@@ -87,13 +87,13 @@ export type ChannelsContextValue<
8787
/**
8888
* Custom indicator to display error at top of list, if loading/pagination error occurs
8989
*
90-
* Default: [ChannelListHeaderErrorIndicator](https://getstream.github.io/stream-chat-react-native/#ChannelListHeaderErrorIndicator)
90+
* Default: [ChannelListHeaderErrorIndicator](https://getstream.github.io/stream-chat-react-native/v3/#ChannelListHeaderErrorIndicator)
9191
*/
9292
HeaderErrorIndicator: React.ComponentType<HeaderErrorProps>;
9393
/**
9494
* Custom indicator to display network-down error at top of list, if there is connectivity issue
9595
*
96-
* Default: [ChannelListHeaderNetworkDownIndicator](https://getstream.github.io/stream-chat-react-native/#ChannelListHeaderNetworkDownIndicator)
96+
* Default: [ChannelListHeaderNetworkDownIndicator](https://getstream.github.io/stream-chat-react-native/v3/#ChannelListHeaderNetworkDownIndicator)
9797
*/
9898
HeaderNetworkDownIndicator: React.ComponentType;
9999
/**
@@ -103,7 +103,7 @@ export type ChannelsContextValue<
103103
/**
104104
* Custom indicator to use when there is error in fetching channels
105105
*
106-
* Default: [LoadingErrorIndicator](https://getstream.github.io/stream-chat-react-native/#loadingerrorindicator)
106+
* Default: [LoadingErrorIndicator](https://getstream.github.io/stream-chat-react-native/v3/#loadingerrorindicator)
107107
* */
108108
LoadingErrorIndicator: React.ComponentType<LoadingErrorProps>;
109109
/**
@@ -137,7 +137,7 @@ export type ChannelsContextValue<
137137
/**
138138
* Custom UI component to display individual channel list items
139139
*
140-
* Default: [ChannelPreviewMessenger](https://getstream.github.io/stream-chat-react-native/#channelpreviewmessenger)
140+
* Default: [ChannelPreviewMessenger](https://getstream.github.io/stream-chat-react-native/v3/#channelpreviewmessenger)
141141
*/
142142
Preview: React.ComponentType<
143143
ChannelPreviewMessengerProps<At, Ch, Co, Ev, Me, Re, Us>
@@ -179,7 +179,7 @@ export type ChannelsContextValue<
179179
/**
180180
* Custom UI component to display loading channel skeletons
181181
*
182-
* Default: [Skeleton](https://getstream.github.io/stream-chat-react-native/#skeleton)
182+
* Default: [Skeleton](https://getstream.github.io/stream-chat-react-native/v3/#skeleton)
183183
*/
184184
Skeleton: React.ComponentType;
185185
ListHeaderComponent?: React.ComponentType;

src/contexts/messageInputContext/MessageInputContext.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export type InputMessageInputContextValue<
224224
/**
225225
* Custom UI component for attach button.
226226
*
227-
* Defaults to and accepts same props as: [AttachButton](https://getstream.github.io/stream-chat-react-native/#attachbutton)
227+
* Defaults to and accepts same props as: [AttachButton](https://getstream.github.io/stream-chat-react-native/v3/#attachbutton)
228228
*/
229229
AttachButton: React.ComponentType<
230230
AttachButtonProps<At, Ch, Co, Ev, Me, Re, Us>
@@ -234,7 +234,7 @@ export type InputMessageInputContextValue<
234234
/**
235235
* Custom UI component for commands button.
236236
*
237-
* Defaults to and accepts same props as: [CommandsButton](https://getstream.github.io/stream-chat-react-native/#commandsbutton)
237+
* Defaults to and accepts same props as: [CommandsButton](https://getstream.github.io/stream-chat-react-native/v3/#commandsbutton)
238238
*/
239239
CommandsButton: React.ComponentType<
240240
CommandsButtonProps<At, Ch, Co, Ev, Me, Re, Us>
@@ -266,7 +266,7 @@ export type InputMessageInputContextValue<
266266
/**
267267
* Custom UI component for more options button.
268268
*
269-
* Defaults to and accepts same props as: [MoreOptionsButton](https://getstream.github.io/stream-chat-react-native/#moreoptionsbutton)
269+
* Defaults to and accepts same props as: [MoreOptionsButton](https://getstream.github.io/stream-chat-react-native/v3/#moreoptionsbutton)
270270
*/
271271
MoreOptionsButton: React.ComponentType<
272272
MoreOptionsButtonProps<At, Ch, Co, Ev, Me, Re, Us>
@@ -277,7 +277,7 @@ export type InputMessageInputContextValue<
277277
/**
278278
* Custom UI component for send button.
279279
*
280-
* Defaults to and accepts same props as: [SendButton](https://getstream.github.io/stream-chat-react-native/#sendbutton)
280+
* Defaults to and accepts same props as: [SendButton](https://getstream.github.io/stream-chat-react-native/v3/#sendbutton)
281281
*/
282282
SendButton: React.ComponentType<SendButtonProps<At, Ch, Co, Ev, Me, Re, Us>>;
283283
sendImageAsync: boolean;

src/contexts/messagesContext/MessagesContext.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export type MessagesContextValue<
196196
>;
197197
/**
198198
* UI component for MessageSystem
199-
* Defaults to: [MessageSystem](https://getstream.github.io/stream-chat-react-native/#messagesystem)
199+
* Defaults to: [MessageSystem](https://getstream.github.io/stream-chat-react-native/v3/#messagesystem)
200200
*/
201201
MessageSystem: React.ComponentType<
202202
MessageSystemProps<At, Ch, Co, Ev, Me, Re, Us>
@@ -217,7 +217,7 @@ export type MessagesContextValue<
217217
removeMessage: (message: { id: string; parent_id?: string }) => void;
218218
/**
219219
* UI component for Reply
220-
* Defaults to: [Reply](https://getstream.github.io/stream-chat-react-native/#reply)
220+
* Defaults to: [Reply](https://getstream.github.io/stream-chat-react-native/v3/#reply)
221221
*/
222222
Reply: React.ComponentType<ReplyProps<At, Ch, Co, Ev, Me, Re, Us>>;
223223
/**
@@ -228,7 +228,7 @@ export type MessagesContextValue<
228228
) => Promise<void>;
229229
/**
230230
* UI component for ScrollToBottomButton
231-
* Defaults to: [ScrollToBottomButton](https://getstream.github.io/stream-chat-react-native/#ScrollToBottomButton)
231+
* Defaults to: [ScrollToBottomButton](https://getstream.github.io/stream-chat-react-native/v3/#ScrollToBottomButton)
232232
*/
233233
ScrollToBottomButton: React.ComponentType<ScrollToBottomButtonProps>;
234234
setEditingState: (message: MessageType<At, Ch, Co, Ev, Me, Re, Us>) => void;
@@ -238,12 +238,12 @@ export type MessagesContextValue<
238238
supportedReactions: ReactionData[];
239239
/**
240240
* UI component for TypingIndicator
241-
* Defaults to: [TypingIndicator](https://getstream.github.io/stream-chat-react-native/#typingindicator)
241+
* Defaults to: [TypingIndicator](https://getstream.github.io/stream-chat-react-native/v3/#typingindicator)
242242
*/
243243
TypingIndicator: React.ComponentType;
244244
/**
245245
* UI component for TypingIndicatorContainer
246-
* Defaults to: [TypingIndicatorContainer](https://getstream.github.io/stream-chat-react-native/#typingindicatorcontainer)
246+
* Defaults to: [TypingIndicatorContainer](https://getstream.github.io/stream-chat-react-native/v3/#typingindicatorcontainer)
247247
*/
248248
TypingIndicatorContainer: React.ComponentType;
249249
updateMessage: (

0 commit comments

Comments
 (0)