@assistant-ui/react
Version:
React components for AI chat.
19 lines • 1.27 kB
TypeScript
import { Primitive } from "@radix-ui/react-primitive";
import { type ElementRef, ComponentPropsWithoutRef } from "react";
import { UseActionBarFloatStatusProps } from "./useActionBarFloatStatus";
type PrimitiveDivProps = ComponentPropsWithoutRef<typeof Primitive.div>;
/**
* @deprecated Use `ActionBarPrimitive.Root.Props` instead. This will be removed in 0.6.
*/
export type ActionBarPrimitiveRootProps = ActionBarPrimitiveRoot.Props;
export declare namespace ActionBarPrimitiveRoot {
type Element = ElementRef<typeof Primitive.div>;
type Props = PrimitiveDivProps & UseActionBarFloatStatusProps;
}
export declare const ActionBarPrimitiveRoot: 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"> & UseActionBarFloatStatusProps & import("react").RefAttributes<HTMLDivElement>>;
export {};
//# sourceMappingURL=ActionBarRoot.d.ts.map