Skip to content

Commit d481fb2

Browse files
Merge pull request #1228 from GetStream/develop
Next Release
2 parents b417a86 + 388885b commit d481fb2

File tree

58 files changed

+1641
-415
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+1641
-415
lines changed

docusaurus/docs/reactnative/common-content/contexts/image-gallery-context/set_image.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Setter for value [`image`](../../../contexts/message_input_context.mdx#image).
1+
Setter for value [`image`](../../../contexts/image_gallery_context.mdx#image).
22

33
| Type |
44
| ------------------------------------------------------ |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Setter for value [`images`](../../../contexts/image_gallery_context.mdx#images).
2+
3+
| Type |
4+
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
5+
| `(messageWithImages: [MessageType](https://github.com/GetStream/stream-chat-react-native/blob/master/package/src/components/MessageList/hooks/useMessageList.ts)[]) => void` |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Additional props provided to the underlying [TextInput](https://reactnative.dev/docs/textinput#props) within [`MessageInput`](../../../ui-components/message_input.mdx).
2+
3+
| Type |
4+
| ------ |
5+
| object |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The time at which the active cooldown will end.
2+
3+
| Type |
4+
| ---- |
5+
| Date |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Component to render the header when a message is been edited on the message input.
2+
3+
| Type | Default |
4+
| --------- | ------------------------------------------------------------------------------------- |
5+
| component | [`InputEditingStateHeader`](../../../../ui-components/input_editing_state_header.mdx) |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Component to render the message input when the giphy command is triggered.
2+
3+
| Type | Default |
4+
| --------- | ---------------------------------------------------------------------- |
5+
| component | [`InputGiphySearch`](../../../../ui-components/input_giphy_search.mdx) |
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Component to render the header on the message input when a message is been replied to.
2+
3+
| Type | Default |
4+
| --------- | --------------------------------------------------------------------------------- |
5+
| component | [`InputReplyStateHeader`](../../../../ui-components/input_reply_state_header.mdx) |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Function which returns true if passing nextAttachment to render would return the same result as passing prevAttachment to render, otherwise return false.
2+
3+
| Type |
4+
| -------- |
5+
| function |
6+
7+
| Parameter | Description |
8+
| -------------- | ------------------------------------------ |
9+
| prevAttachment | previous message attachment to be compared |
10+
| nextAttachment | next message attachment to be compared |
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
The giphy version to render when viewing a Giphy in the Image Gallery.
2+
Check the keys of the [Image Object](https://developers.giphy.com/docs/api/schema#image-object) for possible values.
3+
4+
| Type | Default |
5+
| ------ | -------------- |
6+
| string | 'fixed_height' |

docusaurus/docs/reactnative/contexts/message_input_context.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ import AppendText from '../common-content/contexts/message-input-context/append_
3838
import ClearEditingState from '../common-content/contexts/message-input-context/clear_editing_state.mdx';
3939
import ClearQuotedMessageState from '../common-content/contexts/message-input-context/clear_quoted_message_state.mdx';
4040
import CloseAttachmentPicker from '../common-content/contexts/message-input-context/close_attachment_picker.mdx';
41+
import CooldownEndsAt from '../common-content/contexts/message-input-context/cooldown_ends_at.mdx';
4142
import Editing from '../common-content/contexts/message-input-context/editing.mdx';
4243
import EditMessage from '../common-content/contexts/message-input-context/edit_message.mdx';
4344
import FileUploads from '../common-content/contexts/message-input-context/file_uploads.mdx';
@@ -123,6 +124,10 @@ const { sendMessage, toggleAttachmentPicker } = useMessageInputContext();
123124

124125
<CompressImageQuality />
125126

127+
### cooldownEndsAt
128+
129+
<CooldownEndsAt />
130+
126131
### <div class="label description">_forwarded from [Channel](../core-components/channel.mdx#dodocuploadrequest)_ props</div> doDocUploadRequest {#dodocuploadrequest}
127132

128133
<DoDocUploadRequest />

0 commit comments

Comments
 (0)