"use client"; import ContentLockup from "../../type/ContentLockup"; import ModalFooter from "../ModalFooter"; import ModalHeader from "../ModalHeader"; import { CreateModalFrameView } from "./CreateModalFrame.view"; import type { CreateViewProps } from "./Create.types"; export function CreateView({ isOpen, onClose, title, description, headerContent, children, footerContent, showBackButton, showNextButton, onBack, onNext, backButtonText, nextButtonText, nextButtonDisabled, currentStep, totalSteps, className, ariaLabel, ariaLabelledBy, createRef, overlayRef, backdropVariant, }: CreateViewProps) { return ( {headerContent !== undefined ? (
{headerContent}
) : title || description ? (
) : null}
{children}
); }