UNPKG

@voxket-ai/voxket-live

Version:

A React widget for embedding Voxket-powered audio/video/chat experiences.

32 lines (31 loc) 966 B
import { ThemeType } from '../styles'; export interface VoxketWidgetProps { agentId: string; participantName?: string; baseUrl: string; appSecret: string; appId: string; className?: string; prompts?: string[]; statusMessage?: string; welcomeTitle?: string; welcomeSubTitle?: string; width?: string; height?: string; loadingText?: string; suportsChatInput?: boolean; suportsVideoInput?: boolean; suportsScreenShare?: boolean; theme?: ThemeType; onSessionStart?: (sessionId: string) => void; onSessionEnd?: (metrics: any) => void; enableSessionLogging?: boolean; onSessionLogsUpdate?: (logs: any[]) => void; onSessionMetricsUpdate?: (metrics: any) => void; } export default function Widget(props: VoxketWidgetProps & { prompts?: string[]; statusMessage?: string; welcomeTitle?: string; welcomeSubTitle?: string; }): import("react/jsx-runtime").JSX.Element | null;