1.0.3 • Published 14 days ago
xverse-components-smart-reply-tts v1.0.3
API
参数名 | 类型 | 说明 | 默认值 | 是否必填 | 备注 |
---|---|---|---|---|---|
style | CSSProperties | 全局样式 | - | false | - |
entrySound | string | 进入后内容 | - | false | - |
titleTextStyle | CSSProperties | 题目栏样式 | - | false | 文字颜色和文字大小等 |
questionButtonStyle | CSSProperties | 问题列表栏样式 | - | false | 文字颜色和文字大小等 |
answerStyle | CSSProperties | 回复答案栏样式 | - | false | 文字颜色和文字大小等 |
className | string | 支持自定义内容的容器 | - | false | - |
backBtnStyle | CSSProperties | 返回按钮样式 | - | false | - |
questionsListItemStyle | CSSProperties | 默认问题列表样式 | - | false | - |
showVoice | boolean | 是否展示语音输入 | true | false | - |
backgroundImg | string | 背景图 | - | false | - |
showVoiceTipStyle | CSSProperties | 语音功能提示(Tip)样式 | - | false | - |
voiceBtnStyle | CSSProperties | 语音功能按钮样式 | - | false | - |
voiceDefaultBtnStyle | CSSProperties | 长按语音默认按钮样式 | - | false | - |
voiceActiveBtnStyle | CSSProperties | 长按语音正在录音按钮样式 | - | false | - |
clearVoiceTextStyle | CSSProperties | 语音内容清空按钮样式 | - | false | - |
sendVoiceTextStyle | CSSProperties | 语音内容发送按钮样式 | - | false | - |
aiReplyAPP | string | 智能回复的 APP | - | false | 认知智能组提供 |
aiReplyNpcId | string | 智能回复的 npcId | - | false | 认知智能组提供 |
aIReplyPoi | string | 智能回复的 poi | - | false | 认知智能组提供 |
onBack | () => void | 退出面板的处理 | - | false | - |
cameraPosition | IAIPosition | 相机位置 | - | false | - |
inputPlaceholder | string | input 的 Placeholder 值 | - | false | - |
avatarProps | IAvatarProps | 讲话的 npc | - | true | 非第一人称下玩家配置 |