import { LinkIcon } from '@heroicons/react/outline' import toast from 'react-hot-toast' import { copyToClipboard } from 'web/lib/util/copy' import { track } from 'web/lib/service/analytics' import { Modal } from './layout/modal' import { Col } from './layout/col' import { Title } from './title' import { Button } from './button' import { TweetButton } from './tweet-button' import { Row } from './layout/row' export function SharePostModal(props: { shareUrl: string isOpen: boolean setOpen: (open: boolean) => void }) { const { isOpen, setOpen, shareUrl } = props const linkIcon =