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(true) }} > Rename Tailnet... { setIsOpen(false) }} > Rename {name} Keep in mind that changing this can lead to all sorts of unexpected behavior and may break existing devices in your tailnet. Rename > ) }