Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
parent
8fa6cb5e03
commit
4c0a31d38b
38 changed files with 379 additions and 18 deletions
|
|
@ -7,6 +7,7 @@ import type {
|
|||
ChatItem,
|
||||
Feedback,
|
||||
} from '../types'
|
||||
import type { ThemeBuilder } from './theme/theme-context'
|
||||
import type {
|
||||
AppConversationData,
|
||||
AppData,
|
||||
|
|
@ -40,6 +41,7 @@ export type EmbeddedChatbotContextValue = {
|
|||
appId?: string
|
||||
handleFeedback: (messageId: string, feedback: Feedback) => void
|
||||
currentChatInstanceRef: RefObject<{ handleStop: () => void }>
|
||||
themeBuilder?: ThemeBuilder
|
||||
}
|
||||
|
||||
export const EmbeddedChatbotContext = createContext<EmbeddedChatbotContextValue>({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue