@assistant-ui/react
Version:
React components for AI chat.
16 lines • 1.11 kB
TypeScript
import { Primitive } from "@radix-ui/react-primitive";
import { type ElementRef, ComponentPropsWithoutRef } from "react";
/**
* @deprecated Use `ContentPartPrimitive.Image.Props` instead. This will be removed in 0.6.
*/
export type ContentPartPrimitiveImageProps = ContentPartPrimitiveImage.Props;
export declare namespace ContentPartPrimitiveImage {
type Element = ElementRef<typeof Primitive.img>;
type Props = ComponentPropsWithoutRef<typeof Primitive.img>;
}
export declare const ContentPartPrimitiveImage: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref"> & {
ref?: ((instance: HTMLImageElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLImageElement> | null | undefined;
} & {
asChild?: boolean;
}, "ref"> & import("react").RefAttributes<HTMLImageElement>>;
//# sourceMappingURL=ContentPartImage.d.ts.map