import { FC, Fragment, PropsWithChildren } from 'react' import { Dialog, Transition } from '@headlessui/react' export const HeadlessFullScreenModal: FC< PropsWithChildren<{ size?: 'medium' | 'full' open: boolean onClose(x?: any): any }> > = ({ children, open, onClose, size = 'full' }) => { const modalSize = size === 'medium' ? 'max-w-md' : '' return (
{children}
) }