@assistant-ui/react
Version:
React components for AI chat.
12 lines • 816 B
TypeScript
import { ComponentPropsWithoutRef, ElementRef } from "react";
import * as PopoverPrimitive from "@radix-ui/react-popover";
/**
* @deprecated Use `AssistantModalPrimitive.Trigger.Props` instead. This will be removed in 0.6.
*/
export type AssistantModalPrimitiveTriggerProps = AssistantModalPrimitiveTrigger.Props;
export declare namespace AssistantModalPrimitiveTrigger {
type Element = ElementRef<typeof PopoverPrimitive.Trigger>;
type Props = ComponentPropsWithoutRef<typeof PopoverPrimitive.Trigger>;
}
export declare const AssistantModalPrimitiveTrigger: import("react").ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
//# sourceMappingURL=AssistantModalTrigger.d.ts.map