import { memo } from "react" import styles from "./document.module.css" 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 { Download, ExternalLink } from "react-feather" // 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 (