FR: #4048 - Add color customization to the chatbot (#4885)

Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
Diego Romero-Lovo 2024-06-26 04:51:00 -05:00 • committed by GitHub
commit 4c0a31d38b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 379 additions and 18 deletions

View file

@ -32,6 +32,7 @@ const ChatWrapper = () => {
appMeta,
handleFeedback,
currentChatInstanceRef,
themeBuilder,
} = useEmbeddedChatbotContext()
const appConfig = useMemo(() => {
const config = appParams || {}
@ -130,6 +131,7 @@ const ChatWrapper = () => {
suggestedQuestions={suggestedQuestions}
answerIcon={isDify() ? <LogoAvatar className='relative shrink-0' /> : null}
hideProcessDetail
themeBuilder={themeBuilder}
/>
)
}