You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(1) `current-user-id` is required to display UI and trigger actions according to the user using the chat (ex: messages position on the right, etc.)
196
197
@@ -266,7 +267,9 @@ messageActions="[
266
267
267
268
(9) `show-new-messages-divider` can be used to show/hide the blue line divider between seen and unseen messages.
268
269
269
-
(10) `text-messages` can be used to replace default i18n texts. Ex:
270
+
(10) `show-footer` can be used to hide the room footer. For example to prevent users to send any message or media.
271
+
272
+
(11) `text-messages` can be used to replace default i18n texts. Ex:
270
273
271
274
```javascript
272
275
text-messages="{
@@ -284,7 +287,7 @@ text-messages="{
284
287
}"
285
288
```
286
289
287
-
(11) `text-formatting` can be used to add text formatting. Currently, bold, italic, strikethrough, underline, inline code and multiline code formatting are available and can be used in conjonction. You can disable text formatting by passing the prop as `:textFormatting="false"`.
290
+
(12) `text-formatting` can be used to add text formatting. Currently, bold, italic, strikethrough, underline, inline code and multiline code formatting are available and can be used in conjonction. You can disable text formatting by passing the prop as `:textFormatting="false"`.
(12) `responsive-breakpoint` can be used to collapse the rooms list on the left when then viewport size goes below the specified width.
317
+
(13) `responsive-breakpoint` can be used to collapse the rooms list on the left when then viewport size goes below the specified width.
315
318
316
-
(13) `single-room` can be used if you never want to show the rooms list on the left. You still need to pass the `rooms` prop as an array with a single element.
319
+
(14) `single-room` can be used if you never want to show the rooms list on the left. You still need to pass the `rooms` prop as an array with a single element.
317
320
318
-
(14) `theme` can be used to change the chat theme. Currently, only `light` and `dark` are available.
321
+
(15) `theme` can be used to change the chat theme. Currently, only `light` and `dark` are available.
319
322
320
-
(15) `accepted-files` can be used to set specifics file types allowed in chat. By default, all file types are allowed: `"*"`.
323
+
(16) `accepted-files` can be used to set specifics file types allowed in chat. By default, all file types are allowed: `"*"`.
321
324
322
325
Example: set `"accepted-files="image/png, image/jpeg, application/pdf"` to allow `JPG``PNG` and `PDF` files
323
326
324
-
(16) `styles` can be used to customize your own theme. Ex:
327
+
(17) `styles` can be used to customize your own theme. Ex:
0 commit comments