'use client'
import * as React from 'react'
import { Button } from '@admin/components/ui/button'
import { cn } from '@admin/utils/shared/cn'
import { AlertDialog as AlertDialogPrimitive } from '@base-ui/react/alert-dialog'
function AlertDialog({ ...props }: AlertDialogPrimitive.Root.Props) {
return
}
function AlertDialogTrigger({ ...props }: AlertDialogPrimitive.Trigger.Props) {
return
}
function AlertDialogPortal({ ...props }: AlertDialogPrimitive.Portal.Props) {
return
}
function AlertDialogOverlay({ className, ...props }: AlertDialogPrimitive.Backdrop.Props) {
return (
)
}
function AlertDialogContent({
className,
size = 'default',
...props
}: AlertDialogPrimitive.Popup.Props & {
size?: 'default' | 'sm'
}) {
return (
)
}
function AlertDialogHeader({ className, ...props }: React.ComponentProps<'div'>) {
return (
)
}
function AlertDialogBody({ className, ...props }: React.ComponentProps<'div'>) {
return (
)
}
function AlertDialogFooter({ className, ...props }: React.ComponentProps<'div'>) {
return (
)
}
function AlertDialogMedia({ className, ...props }: React.ComponentProps<'div'>) {
return (
)
}
function AlertDialogTitle({
className,
...props
}: React.ComponentProps) {
return (
)
}
function AlertDialogDescription({
className,
...props
}: React.ComponentProps) {
return (
)
}
function AlertDialogAction({ className, ...props }: React.ComponentProps) {
return
}
function AlertDialogCancel({
className,
variant = 'outline',
size = 'default',
...props
}: AlertDialogPrimitive.Close.Props &
Pick, 'variant' | 'size'>) {
return (
}
{...props}
/>
)
}
export {
AlertDialog,
AlertDialogAction,
AlertDialogBody,
AlertDialogCancel,
AlertDialogContent,
AlertDialogDescription,
AlertDialogFooter,
AlertDialogHeader,
AlertDialogMedia,
AlertDialogOverlay,
AlertDialogPortal,
AlertDialogTitle,
AlertDialogTrigger
}