UNPKG

@assistant-ui/react

Version:

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

17 lines • 977 B
import { Primitive } from "../../utils/Primitive.js"; import { type ComponentRef, type ComponentPropsWithoutRef } from "react"; export declare namespace ErrorPrimitiveRoot { type Element = ComponentRef<typeof Primitive.div>; type Props = ComponentPropsWithoutRef<typeof Primitive.div>; } /** * The container of a message's error. It carries `data-run-state` (`stale` or * `in-progress`) when the error stands for a run another tab or session * drove, and announces an in-progress run as a status instead of an alert. */ export declare const ErrorPrimitiveRoot: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & { asChild?: boolean | undefined; }, "ref"> & { render?: import("react").ReactElement | undefined; } & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>; //# sourceMappingURL=ErrorRoot.d.ts.map