@assistant-ui/react
Version:
React components for AI chat.
17 lines • 692 B
TypeScript
import { ComponentType, type FC } from "react";
/**
* @deprecated Use `MessagePrimitive.Attachments.Props` instead. This will be removed in 0.6.
*/
export type MessagePrimitiveAttachmentsProps = MessagePrimitiveAttachments.Props;
export declare namespace MessagePrimitiveAttachments {
type Props = {
components: {
Image?: ComponentType | undefined;
Document?: ComponentType | undefined;
File?: ComponentType | undefined;
Attachment?: ComponentType | undefined;
} | undefined;
};
}
export declare const MessagePrimitiveAttachments: FC<MessagePrimitiveAttachments.Props>;
//# sourceMappingURL=MessageAttachments.d.ts.map