UNPKG

@assistant-ui/react

Version:

React components for AI chat.

16 lines 1.06 kB
import { Primitive } from "@radix-ui/react-primitive"; import { type ElementRef, ComponentPropsWithoutRef } from "react"; /** * @deprecated Use `ThreadPrimitive.Root.Props` instead. This will be removed in 0.6. */ export type ThreadPrimitiveRootProps = ThreadPrimitiveRoot.Props; export declare namespace ThreadPrimitiveRoot { type Element = ElementRef<typeof Primitive.div>; type Props = ComponentPropsWithoutRef<typeof Primitive.div>; } export declare const ThreadPrimitiveRoot: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & { ref?: ((instance: HTMLDivElement | 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<HTMLDivElement> | null | undefined; } & { asChild?: boolean; }, "ref"> & import("react").RefAttributes<HTMLDivElement>>; //# sourceMappingURL=ThreadRoot.d.ts.map