"use client"; import { memo } from "react"; import ContentLockup from "../../type/ContentLockup"; import ModalFooter from "../../utility/ModalFooter"; import ModalHeader from "../../utility/ModalHeader"; import { CreateModalFrameView } from "../Create/CreateModalFrame.view"; import type { DialogViewProps } from "./Dialog.types"; export const DialogView = memo(function DialogView({ isOpen, onClose, title, description, footer, children, className, ariaLabel, ariaLabelledBy, titleId, backdropVariant, overlayRef, dialogRef, }: DialogViewProps) { return (
{children ? (
{children}
) : null} {footer} } />
); }); DialogView.displayName = "DialogView";