From 9d97f8a3d4c0433365f9e823ca24c9825ab36b62 Mon Sep 17 00:00:00 2001 From: Rabih Utomo <69680330+RobyCigar@users.noreply.github.com> Date: Fri, 29 Dec 2023 11:43:18 +0700 Subject: [PATCH] docs: add documentation for show-audio props --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 45257085..b0c87c39 100644 --- a/README.md +++ b/README.md @@ -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.) @@ -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: {