Skip to content

Commit

Permalink
Merge pull request #497 from RobyCigar/patch-1
Browse files Browse the repository at this point in the history
docs: add documentation for show-audio props
  • Loading branch information
aerovulpe authored Dec 29, 2023
2 parents 862b26e + 9d97f8a commit 372ae35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ Otherwise, you need to pass those props as strings. For example: `[messages]="JS
| `capture-files`(28) | String | - | `''` |
| `multiple-files`(29) | Boolean | - | `true` |
| `styles`(30) | [String, Object] | - | (26) |
| `show-audio`(31) | Boolean | - | `true` |
| `emoji-data-source` | String | - | `https://cdn.jsdelivr.net/npm/emoji-picker-element-data@%5E1/en/emojibase/data.json` |

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

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

**(31)** `show-audio` can be used to enable or disable audio icon

```javascript
styles="{
general: {
Expand Down

0 comments on commit 372ae35

Please sign in to comment.