import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/components/ui/dialog"; import { Button, buttonVariants } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Share } from "@phosphor-icons/react"; interface ShareLinkProps { buttonTitle: string; title: string; description: string; url: string; onShare: () => void; buttonVariant?: keyof typeof buttonVariants; includeIcon?: boolean; buttonClassName?: string; } function copyToClipboard(text: string) { const clipboard = navigator.clipboard; if (!clipboard) { return; } clipboard.writeText(text); } export default function ShareLink(props: ShareLinkProps) { return ( {props.title} {props.description}
); }