1.0.1 • Published 5 months ago
xverse-components-smart-reply v1.0.1
API
参数名 | 类型 | 说明 | 默认值 | 是否必填 | 备注 | |
---|---|---|---|---|---|---|
style | CSSProperties | - | false | - | ||
introductionText | string | 欢迎介绍文案 | 你好,欢迎来到智能回答 | false | 问题列表的欢迎介绍文案 | |
questionModel | 'button' | 'list' | 问题列表的类型 | list | false | - |
content | ISmartReplyContent[] | 对话框内容 | - | true | 每一项是一个步骤 | |
entrySound | string | 进入后的音效 | - | false | - | |
titleTextStyle | CSSProperties | 题目样式 | - | false | 文字颜色和文字大小等 | |
questionButtonStyle | CSSProperties | 提问按钮样式样式 | - | false | 文字颜色和文字大小等 | |
answerStyle | CSSProperties | 回复答案样式样式 | - | false | 文字颜色和文字大小等 | |
children | ReactNode | - | false | - | ||
className | string | 支持自定义内容的容器 | - | false | - |