"use client"; import React from "react"; import { motion } from "framer-motion"; import CurvyRect from "@/components/shared/layout/curvy-rect"; import { cn } from "@/utils/cn"; import { Dialog, DialogTrigger, DialogPortal, DialogOverlay, DialogClose, DialogHeader, DialogFooter, DialogTitle, DialogDescription, DialogContent as ShadDialogContent, } from "@/components/ui/shadcn/dialog"; type AppDialogContentProps = React.ComponentPropsWithoutRef< typeof ShadDialogContent > & { withCurvyRect?: boolean; bodyClassName?: string; }; export function AppDialogContent({ className, children, withCurvyRect = true, bodyClassName, ...props }: AppDialogContentProps) { return ( {withCurvyRect && ( )} {children} ); } export { Dialog, DialogTrigger, DialogPortal, DialogOverlay, DialogClose, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };