@restnfeel/agentc-starter-kit
Version:
한국어 기업용 CMS 모듈 - Task Master AI와 함께 빠르게 웹사이트를 구현할 수 있는 재사용 가능한 컴포넌트 시스템
29 lines • 1.05 kB
TypeScript
export interface Message {
id: string;
content: string;
sender: "user" | "ai";
timestamp: Date;
type?: "text" | "error" | "system";
isStreaming?: boolean;
}
interface ChatDockProps {
isOpen: boolean;
onClose: () => void;
onMinimize?: () => void;
onSendMessage: (message: string) => void;
messages: Message[];
isTyping?: boolean;
title?: string;
placeholder?: string;
className?: string;
maxHeight?: string;
position?: "bottom-right" | "bottom-left" | "center";
showHeader?: boolean;
allowMinimize?: boolean;
disabled?: boolean;
showSuggestedQuestions?: boolean;
suggestedQuestionsContext?: string;
}
export declare function ChatDock({ isOpen, onClose, onMinimize, onSendMessage, messages, isTyping, title, placeholder, className, maxHeight, position, showHeader, allowMinimize, disabled, showSuggestedQuestions, suggestedQuestionsContext, }: ChatDockProps): import("react/jsx-runtime").JSX.Element;
export default ChatDock;
//# sourceMappingURL=chat-dock.d.ts.map