import { memo } from "react" import styles from "./document.module.css" import Download from "@geist-ui/icons/download" import ExternalLink from "@geist-ui/icons/externalLink" import Skeleton from "@components/skeleton" import Link from "next/link" import Tooltip from "@components/tooltip" import Button from "@components/button" import ButtonGroup from "@components/button-group" import DocumentTabs from "app/(posts)/components/tabs" import Input from "@components/input" // import Link from "next/link" type Props = { title: string initialTab?: "edit" | "preview" skeleton?: boolean id: string content: string preview: string } const DownloadButton = ({ rawLink }: { rawLink?: string }) => { return (