@hoosei/voxweave-react
Version:
A customizable and interactive voice UI component for React applications
17 lines (16 loc) • 659 B
TypeScript
import { FC } from "react";
export interface VoxweaveThreeJSProps {
size: number;
isListening: boolean;
audioData: Uint8Array | null;
agentStatus: 'idle' | 'speaking' | 'listening' | 'thinking';
agentAudioData: Uint8Array | null;
children?: React.ReactNode | React.ReactNode[];
listeningColors?: [string, string];
notListeningColors?: [string, string];
containerPosition: 'bottom' | 'center' | 'bottom-verticle' | 'left' | 'right';
isVertical: boolean;
animation: string | FC<VoxweaveThreeJSProps> | undefined;
}
export declare const VoxweaveThreeJS: React.FC<VoxweaveThreeJSProps>;
export default VoxweaveThreeJS;