Skip to content

Commit d6b0dd5

Browse files
committed
doc(README): reorder props api description
1 parent 5fed853 commit d6b0dd5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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
323325
styles="{
@@ -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

449450
Example: set `accepted-files="image/png, image/peg, application/pdf"` to allow `JPG` `PNG` and `PDF` files
450451

0 commit comments

Comments
 (0)