import * as React from "react"
const AlertDialog = ({ open, onOpenChange, children }: any) => {
if (!open) return null
return (
onOpenChange(false)} />
{children}
)
}
const AlertDialogContent = ({ children, className }: any) => (
{children}
)
const AlertDialogHeader = ({ children }: any) =>
{children}
const AlertDialogTitle = ({ children, className }: any) =>
{children}
const AlertDialogDescription = ({ children, className }: any) =>
{children}
const AlertDialogFooter = ({ children }: any) =>
{children}
const AlertDialogAction = ({ children, onClick, disabled, className }: any) => (
)
const AlertDialogCancel = ({ children, disabled, className }: any) => (
)
export {
AlertDialog,
AlertDialogContent,
AlertDialogHeader,
AlertDialogTitle,
AlertDialogDescription,
AlertDialogFooter,
AlertDialogAction,
AlertDialogCancel,
}