Skip to content

Commit 372ae35

Browse files
authored
Merge pull request #497 from RobyCigar/patch-1
docs: add documentation for show-audio props
2 parents 862b26e + 9d97f8a commit 372ae35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ Otherwise, you need to pass those props as strings. For example: `[messages]="JS
267267
| `capture-files`(28) | String | - | `''` |
268268
| `multiple-files`(29) | Boolean | - | `true` |
269269
| `styles`(30) | [String, Object] | - | (26) |
270+
| `show-audio`(31) | Boolean | - | `true` |
270271
| `emoji-data-source` | String | - | `https://cdn.jsdelivr.net/npm/emoji-picker-element-data@%5E1/en/emojibase/data.json` |
271272

272273
**(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.)
@@ -492,6 +493,8 @@ Example: set `accepted-files="image/png, image/jpeg, application/pdf"` to allow
492493

493494
**(30)** `styles` can be used to customize your own theme. You can find the full list [here](src/themes/index.js)
494495

496+
**(31)** `show-audio` can be used to enable or disable audio icon
497+
495498
```javascript
496499
styles="{
497500
general: {

0 commit comments

Comments
 (0)