import { FunctionComponent } from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import toast, { Toaster } from 'react-hot-toast' import { useRouter } from 'next/router' import { useClipboard } from 'use-clipboard-copy' import { getBaseUrl } from '../utils/tools' const DownloadBtn: FunctionComponent<{ downloadUrl: string }> = ({ downloadUrl }) => { const { asPath } = useRouter() const clipboard = useClipboard() return (
Download
) } export default DownloadBtn