"use client"; import { memo } from "react"; import Avatar from "../../asset/Avatar"; import Icon from "../../asset/icon"; import Button from "../../buttons/Button"; import Checkbox from "../../controls/Checkbox"; import { CreateModalFrameView } from "../Create/CreateModalFrame.view"; import ModalHeader from "../ModalHeader"; import ContentLockup from "../../type/ContentLockup"; import { communityInviteInitials } from "../../../../lib/create/ruleInviteCardMeta"; import type { DeleteAccountViewProps } from "./DeleteAccount.types"; export const DeleteAccountView = memo(function DeleteAccountView({ isOpen, onClose, onConfirm, busy, rules, onExportPdf, onExportMarkdown, className, backdropVariant, dialogRef, overlayRef, titleId, copy, understood, onUnderstoodChange, }: DeleteAccountViewProps) { return ( undefined : onClose} backdropVariant={backdropVariant} presentation="sheet" className={className} ariaLabel={copy.title} ariaLabelledBy={titleId} overlayRef={overlayRef} dialogRef={dialogRef} >

{copy.yourRules}

{rules.map((rule) => (

{rule.title}

))} onUnderstoodChange(data.checked)} />
); }); DeleteAccountView.displayName = "DeleteAccountView";