rt-chat-input 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -91,6 +91,7 @@ const handleAttach = (files) => {
91
91
  | `showVoiceButton` | `boolean` | `true` | 是否显示语音按钮 |
92
92
  | `showAttachmentButton` | `boolean` | `true` | 是否显示附件按钮 |
93
93
  | `acceptFileTypes` | `string` | `'image/*,.pdf,.doc...'` | 允许上传的文件类型(默认为常见图片及办公文档格式) |
94
+ | `onRequestPermission` | `() => Promise<boolean>` | `undefined` | 外部权限请求处理函数(返回 `true` 表示已获得权限) |
94
95
 
95
96
  #### Events
96
97