// @subframe/sync-disable "use client"; import React from "react"; import { Dialog as DialogComponent } from "./Dialog"; import { MODAL_LAYER_CLASS } from "../../layers"; import { MODAL_CONTENT_MOTION_CLASS, MODAL_OVERLAY_MOTION_CLASS } from "../../modal-motion"; import * as SubframeUtils from "../../utils"; /** * Add wrapper components and business logic here. * If you modify this file, disable Subframe sync for it to prevent overwrites. * Learn more: https://docs.subframe.com/concepts/syncing-components#wrapping-components */ const DialogRoot = React.forwardRef< React.ElementRef, React.ComponentProps >(function DialogRoot({ className, ...otherProps }, ref) { return ( ); }); const DialogContent = React.forwardRef< React.ElementRef, React.ComponentProps >(function DialogContent({ className, ...otherProps }, ref) { return ; }); export const Dialog = Object.assign(DialogRoot, { Content: DialogContent, });