UNPKG

@restnfeel/agentc-starter-kit

Version:

한국어 기업용 CMS 모듈 - Task Master AI와 함께 빠르게 웹사이트를 구현할 수 있는 재사용 가능한 컴포넌트 시스템

42 lines 1.83 kB
import React from "react"; interface MobileChatNavigatorProps { /** API endpoint for chat messages */ apiEndpoint?: string; /** Language for internationalization */ language?: string; /** Chat title */ title?: string; /** Input placeholder text */ placeholder?: string; /** Custom CSS class */ className?: string; /** Whether the chat is disabled */ disabled?: boolean; /** Show suggested questions */ showSuggestedQuestions?: boolean; /** Context for suggested questions */ suggestedQuestionsContext?: string; /** Initial messages */ initialMessages?: Array<{ id: string; text: string; isUser: boolean; timestamp: Date; }>; /** Custom navigation handler */ onNavigate?: (isOpen: boolean) => void; /** Custom message handler */ onMessage?: (message: string) => Promise<string>; /** Floating button position */ buttonPosition?: "bottom-right" | "bottom-left" | "top-right" | "top-left"; /** Custom floating button styles */ buttonStyle?: React.CSSProperties; /** Whether to persist chat state in localStorage */ persistChat?: boolean; /** Custom session ID for persistence */ sessionId?: string; } export declare function MobileChatNavigator({ apiEndpoint, language, title, placeholder, className, disabled, showSuggestedQuestions, suggestedQuestionsContext, initialMessages, onNavigate, onMessage, buttonPosition, buttonStyle, persistChat, sessionId, }: MobileChatNavigatorProps): import("react/jsx-runtime").JSX.Element; export declare function withMobileNavigation<T extends object>(WrappedComponent: React.ComponentType<T>): (props: T & MobileChatNavigatorProps) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=mobile-chat-navigator.d.ts.map