@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
15 lines (14 loc) • 516 B
TypeScript
import type { FileWithPreview } from './AttachementsList';
interface ChatBoxProps {
onSubmit: (description: string, files: FileWithPreview[]) => Promise<boolean>;
onSuccess?: () => void;
onError?: (error: Error) => void;
onDescriptionChange?: (description: string) => void;
onFilesChange?: (files: FileWithPreview[]) => void;
maxFileSize?: number;
showCTALabel?: boolean;
prompt?: string;
isSubmitting?: boolean;
}
export declare const ChatBox: React.FC<ChatBoxProps>;
export {};