import React from "react"; import { ModModalConfirmationProps } from "./TModal"; import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogTitle, AlertDialogTrigger, } from "@/components/ui/alert-dialog"; import { ModButton } from "../ModButton/ButtonAction"; import { Button } from "@/components/ui/button"; class ModModalConfirmation extends React.Component { constructor(props: ModModalConfirmationProps) { super(props); } render(): React.ReactNode { return ( Confirmation {this.props.content} {this.props.cancelButton.content} {this.props.actionButton.content} ); } } export { ModModalConfirmation };