import { EyeSlashIcon, PaperPlaneTiltIcon } from "@phosphor-icons/react";
import { Modal } from "../ui/Modal";
import Saajan from "../ui/Saajan";
interface ShareModalProps {
shareLink: string | null;
setShareLink: (link: string | null) => void;
}
export function ShareModal({ shareLink, setShareLink }: ShareModalProps) {
const copyToClipboard = async () => {
if (!shareLink) return;
await navigator.clipboard.writeText(shareLink);
};
return (
<>
You've carried these words long enough.
The key never leaves your or the recipient's browser.
Send this letter
Send your letter now, and let the{" "}
unsaid finally
find its home.
They'll receive it exactly as you're seeing it now.
Nothing more, nothing less.