import * as React from "react"
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog"
import { cn } from "@/lib/utils"
import { Button } from "@/components/ui/button"
import { XIcon } from "lucide-react"
export type DialogRootProps = DialogPrimitive.Root.Props
export type DialogTriggerProps = DialogPrimitive.Trigger.Props
export type DialogPortalProps = DialogPrimitive.Portal.Props
export type DialogCloseProps = DialogPrimitive.Close.Props
export type DialogOverlayProps = DialogPrimitive.Backdrop.Props
export type DialogPopupProps = DialogPrimitive.Popup.Props & {
showCloseButton?: boolean
size?: "xs" | "sm" | "md" | "lg" | "xl" | "full"
surface?: "default" | "plain"
}
export type DialogHeaderProps = React.ComponentProps<"div">
export type DialogBodyProps = React.ComponentProps<"div">
export type DialogFooterProps = React.ComponentProps<"div"> & {
showCloseButton?: boolean
}
export type DialogTitleProps = DialogPrimitive.Title.Props
export type DialogDescriptionProps = DialogPrimitive.Description.Props
function Dialog({ ...props }: DialogRootProps) {
return