@assistant-ui/react
Version:
React components for AI chat.
12 lines • 983 B
TypeScript
import { useAttachmentRemove } from "../../primitive-hooks/attachment/useAttachmentRemove";
import { ActionButtonElement, ActionButtonProps } from "../../utils/createActionButton";
export declare namespace AttachmentPrimitiveRemove {
type Element = ActionButtonElement;
type Props = ActionButtonProps<typeof useAttachmentRemove>;
}
export declare const AttachmentPrimitiveRemove: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
ref?: ((instance: HTMLButtonElement | 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<HTMLButtonElement> | null | undefined;
} & {
asChild?: boolean;
}, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
//# sourceMappingURL=AttachmentRemove.d.ts.map