import Button from "~/components/button"; import Dialog, { DialogPanel } from "~/components/dialog"; import Text from "~/components/text"; import Title from "~/components/title"; interface Props { isEnabled: boolean; isDisabled: boolean; } export default function Modal({ isEnabled, isDisabled }: Props) { return ( {isEnabled ? "Disable" : "Enable"} Magic DNS Devices will no longer be accessible via your tailnet domain. The search domain will also be disabled. ); }