@automattic/agenttic-ui
Version:
UI components for the Agenttic framework
15 lines • 565 B
TypeScript
import type { ComponentType } from 'react';
import type { Message as MessageType } from '../../types';
interface MessagesProps {
messages: MessageType[];
isProcessing?: boolean;
error?: string | null;
emptyView?: React.ReactNode;
messageRenderer?: ComponentType<{
children: string;
}>;
className?: string;
}
export declare function Messages({ messages, isProcessing, error, emptyView, messageRenderer, className, }: MessagesProps): import("react/jsx-runtime").JSX.Element | null;
export {};
//# sourceMappingURL=Messages.d.ts.map