import { Button } from '@gear-js/ui';
import { useModalState } from '@/hooks';
import { withAccount } from '@/shared/ui';
import DnsSVG from '@/shared/assets/images/menu/dns.svg?react';
import { DnsModal } from '../dns-modal';
type Props = {
onSuccess: () => void;
color?: 'light' | 'primary';
};
const CreateDns = withAccount(({ onSuccess, color = 'light' }: Props) => {
const [isModalOpen, openModal, closeModal] = useModalState();
return (
<>
{isModalOpen && }
>
);
});
export { CreateDns };