import { Button, Stack } from "@mantine/core"; import { useModals } from "@mantine/modals"; import { ModalsContextProps } from "@mantine/modals/lib/context"; import { FormattedMessage } from "react-intl"; import { translateOutsideContext } from "../../../hooks/useTranslate.hook"; import CopyTextField from "../../upload/CopyTextField"; const showCompletedReverseShareModal = ( modals: ModalsContextProps, link: string, getReverseShares: () => void, ) => { const t = translateOutsideContext(); return modals.openModal({ closeOnClickOutside: false, withCloseButton: false, closeOnEscape: false, title: t("account.reverseShares.modal.reverse-share-link"), children: , }); }; const Body = ({ link, getReverseShares, }: { link: string; getReverseShares: () => void; }) => { const modals = useModals(); return ( ); }; export default showCompletedReverseShareModal;