UNPKG

@assistant-ui/react

Version:

Open-source TypeScript/React library for building production-grade AI chat experiences

20 lines • 874 B
import { Primitive } from "../../utils/Primitive.js"; import { type ComponentRef, type ComponentPropsWithoutRef } from "react"; export declare namespace QueueItemPrimitiveText { type Element = ComponentRef<typeof Primitive.span>; type Props = ComponentPropsWithoutRef<typeof Primitive.span>; } /** * Renders the prompt text of a queue item. * * @example * ```tsx * <QueueItemPrimitive.Text /> * ``` */ export declare const QueueItemPrimitiveText: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & { asChild?: boolean | undefined; }, "ref"> & { render?: import("react").ReactElement | undefined; } & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>; //# sourceMappingURL=QueueItemText.d.ts.map