@assistant-ui/react
Version:
React components for AI chat.
16 lines • 936 B
TypeScript
import { ComponentPropsWithoutRef, ElementRef } from "react";
import * as PopoverPrimitive from "@radix-ui/react-popover";
/**
* @deprecated Use `AssistantModalPrimitive.Content.Props` instead. This will be removed in 0.6.
*/
export type AssistantModalPrimitiveContentProps = AssistantModalPrimitiveContent.Props;
export declare namespace AssistantModalPrimitiveContent {
type Element = ElementRef<typeof PopoverPrimitive.Content>;
type Props = ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> & {
dissmissOnInteractOutside?: boolean | undefined;
};
}
export declare const AssistantModalPrimitiveContent: import("react").ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
dissmissOnInteractOutside?: boolean | undefined;
} & import("react").RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=AssistantModalContent.d.ts.map