import { Dialog } from '@headlessui/react' import { Form } from '@remix-run/react' import { useState } from 'react' type Properties = { readonly name: string; } export default function Modal({ name }: Properties) { const [isOpen, setIsOpen] = useState(false) return ( <> { setIsOpen(false) }} > ) }