analytica-frontend-lib
Version:
Repositório público dos componentes utilizados nas plataformas da Analytica Ensino
17 lines • 739 B
TypeScript
import { type ChatbotMessage as ChatbotMessageType } from '../../types/chatbot';
/**
* Props for a single message bubble
*/
export interface ChatbotMessageProps {
message: ChatbotMessageType;
className?: string;
/** Optional classes forwarded to the assistant markdown renderer. */
contentClassName?: string;
}
/**
* Individual chat bubble. User messages are aligned to the right with a
* primary background; assistant messages sit on the left in a neutral
* background and pass through markdown / LaTeX renderers.
*/
export default function ChatbotMessage({ message, className, contentClassName, }: Readonly<ChatbotMessageProps>): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ChatbotMessage.d.ts.map