Fix: webapp color theme (#6908)

This commit is contained in:
KVOJJJin
2024-08-02 15:08:14 +08:00
committed by GitHub
parent e683461416
commit 62cc4077bb
4 changed files with 11 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ import type {
ChatItem,
Feedback,
} from '../types'
import type { ThemeBuilder } from '../embedded-chatbot/theme/theme-context'
import type {
AppConversationData,
AppData,
@@ -46,6 +47,7 @@ export type ChatWithHistoryContextValue = {
appId?: string
handleFeedback: (messageId: string, feedback: Feedback) => void
currentChatInstanceRef: RefObject<{ handleStop: () => void }>
themeBuilder?: ThemeBuilder
}
export const ChatWithHistoryContext = createContext<ChatWithHistoryContextValue>({