"use client"; import React from "react"; import { ArrowRight } from "lucide-react"; import { cn } from "@/lib/utils"; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "@/components/ui/tooltip"; interface AutoDownloadButtonProps extends React.ButtonHTMLAttributes { autoEnabled?: boolean; } const AutoDownloadButton = React.forwardRef< HTMLButtonElement, AutoDownloadButtonProps >(({ autoEnabled = false, className, ...props }, ref) => { return ( {autoEnabled ? "Auto download is enabled, you can disable it by clicking the button" : "Auto download is disabled, you can enable it by clicking the button"} ); }); AutoDownloadButton.displayName = "AutoDownloadButton"; export { AutoDownloadButton };