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 }) {
189189| responsiveBreakpoint (12) | Number | - | 900 |
190190| singleRoom (13) | Boolean | - | false |
191191| theme (14) | Sring | - | light |
192- | styles (15) | Object | - | (10) |
193- | acceptedFiles (16) | String | - | " * " |
192+ | acceptedFiles (15) | String | - | " * " |
193+ | styles (16) | Object | - | (10) |
194194
195195(1) ` currentUserId ` is required to display UI and trigger actions according to the user using the chat (ex: messages position on the right, etc.)
196196
@@ -317,7 +317,9 @@ multiline code
317317
318318(14) ` theme ` can be used to change the chat theme. Currently, only ` light ` and ` dark ` are available.
319319
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:
321323
322324``` javascript
323325styles= " {
@@ -444,7 +446,6 @@ styles="{
444446}"
445447```
446448
447- (16) ` acceptedFiles ` can be used to set specifics file types allowed in chat. By default, all file types are allowed: ` "*" ` .
448449
449450Example: set ` accepted-files="image/png, image/peg, application/pdf" ` to allow ` JPG ` ` PNG ` and ` PDF ` files
450451
You can’t perform that action at this time.
0 commit comments