import { Dialog } from '@headlessui/react' import { CheckIcon } from '@heroicons/react/outline' import { MiniGrid } from '../mini-grid/MiniGrid' import { shareStatus } from '../../lib/share' import { BaseModal } from './BaseModal' type Props = { isOpen: boolean handleClose: () => void guesses: string[] handleShare: () => void } export const WinModal = ({ isOpen, handleClose, guesses, handleShare, }: Props) => { return (
You won!

Great job.

) }