import { useFetcher } from '@remix-run/react' import { useState } from 'react' import { Input } from 'react-aria-components' import Code from '~/components/Code' import Dialog from '~/components/Dialog' import Spinner from '~/components/Spinner' import TextField from '~/components/TextField' import { cn } from '~/utils/cn' type Properties = { readonly name: string; readonly disabled?: boolean; } export default function Modal({ name, disabled }: Properties) { const [newName, setNewName] = useState(name) const fetcher = useFetcher() return (
This is the base domain name of your Tailnet.
Devices are accessible at
{' '}
[device].{name}
{' '}
when Magic DNS is enabled.