UNPKG

@assistant-ui/react

Version:

React components for AI chat.

11 lines 502 B
import type { FC, PropsWithChildren } from "react"; import { UseMessageIfProps } from "../../primitive-hooks/message/useMessageIf"; /** * @deprecated Use `MessagePrimitive.If.Props` instead. This will be removed in 0.6. */ export type MessagePrimitiveIfProps = MessagePrimitiveIf.Props; export declare namespace MessagePrimitiveIf { type Props = PropsWithChildren<UseMessageIfProps>; } export declare const MessagePrimitiveIf: FC<MessagePrimitiveIf.Props>; //# sourceMappingURL=MessageIf.d.ts.map