import { Fragment, ReactNode } from 'react' import { Dialog, Transition } from '@headlessui/react' import clsx from 'clsx' // From https://tailwindui.com/components/application-ui/overlays/modals export function Modal(props: { children: ReactNode open: boolean setOpen: (open: boolean) => void className?: string }) { const { children, open, setOpen, className } = props return (
{/* This element is to trick the browser into centering the modal contents. */}
{children}
) }