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
Copy file name to clipboardExpand all lines: README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,8 +96,9 @@ You can import it as a custom component:
96
96
| showReactionEmojis | Boolean | - | true |
97
97
| textMessages (6) | Object | - | null |
98
98
| responsiveBreakpoint (7) | Number | - | 900 |
99
-
| theme (8) | Sring | - | light |
100
-
| styles (9) | Object | - | (9) |
99
+
| singleRoom (8) | Number | - | 900 |
100
+
| theme (9) | Sring | - | light |
101
+
| styles (10) | Object | - | (10) |
101
102
102
103
(1) `currentUserId` is required to display UI and trigger actions according to the user using the chat (ex: messages position on the right, etc.)
103
104
@@ -178,11 +179,13 @@ textMessages="{
178
179
}"
179
180
```
180
181
181
-
(7) `responsiveBreakpoint` can be used to collapse the rooms list on the left when then viewport size goes below the specified width
182
+
(7) `responsiveBreakpoint` can be used to collapse the rooms list on the left when then viewport size goes below the specified width.
182
183
183
-
(8) `theme` can be used to change the chat theme. Currently, only `light` and `dark` are available.
184
+
(8) `singleRoom` 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.
184
185
185
-
(9) `styles` can be used to customize your own theme. Ex:
186
+
(9) `theme` can be used to change the chat theme. Currently, only `light` and `dark` are available.
187
+
188
+
(10) `styles` can be used to customize your own theme. Ex:
0 commit comments