File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -189,8 +189,8 @@ fetchMessages({ room, options }) {
189
189
| responsiveBreakpoint (12) | Number | - | 900 |
190
190
| singleRoom (13) | Boolean | - | false |
191
191
| theme (14) | Sring | - | light |
192
- | styles (15) | Object | - | (10) |
193
- | acceptedFiles (16) | String | - | " * " |
192
+ | acceptedFiles (15) | String | - | " * " |
193
+ | styles (16) | Object | - | (10) |
194
194
195
195
(1) ` currentUserId ` is required to display UI and trigger actions according to the user using the chat (ex: messages position on the right, etc.)
196
196
@@ -317,7 +317,9 @@ multiline code
317
317
318
318
(14) ` theme ` can be used to change the chat theme. Currently, only ` light ` and ` dark ` are available.
319
319
320
- (15) ` styles ` can be used to customize your own theme. Ex:
320
+ (15) ` acceptedFiles ` can be used to set specifics file types allowed in chat. By default, all file types are allowed: ` "*" ` .
321
+
322
+ (16) ` styles ` can be used to customize your own theme. Ex:
321
323
322
324
``` javascript
323
325
styles= " {
@@ -444,7 +446,6 @@ styles="{
444
446
}"
445
447
```
446
448
447
- (16) ` acceptedFiles ` can be used to set specifics file types allowed in chat. By default, all file types are allowed: ` "*" ` .
448
449
449
450
Example: set ` accepted-files="image/png, image/peg, application/pdf" ` to allow ` JPG ` ` PNG ` and ` PDF ` files
450
451
You can’t perform that action at this time.
0 commit comments