UNPKG

@botonic/react

Version:

Build Chatbots using React

14 lines (13 loc) 999 B
import React from 'react'; import { AiAgentDebugEvent, BotActionDebugEvent, ConditionalChannelDebugEvent, ConditionalCountryDebugEvent, ConditionalCustomDebugEvent, ConditionalQueueStatusDebugEvent, FallbackDebugEvent, HandoffSuccessDebugEvent, KeywordDebugEvent, KnowledgeBaseDebugEvent, RedirectFlowDebugEvent, SmartIntentDebugEvent, WebviewActionTriggeredDebugEvent } from './events'; export interface IconProps { color?: string; } export type DebugEvent = KeywordDebugEvent | AiAgentDebugEvent | KnowledgeBaseDebugEvent | FallbackDebugEvent | SmartIntentDebugEvent | HandoffSuccessDebugEvent | BotActionDebugEvent | ConditionalChannelDebugEvent | ConditionalCountryDebugEvent | ConditionalCustomDebugEvent | ConditionalQueueStatusDebugEvent | RedirectFlowDebugEvent | WebviewActionTriggeredDebugEvent; export interface DebugEventConfig { action: string; title: React.ReactNode; component: React.ComponentType<any> | null; icon?: React.ReactNode; collapsible?: boolean; }