import { Button } from "../ui/button"; import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle, } from "../ui/dialog"; import { DialogDescription } from "@radix-ui/react-dialog"; type DeleteUserDialogProps = { show: boolean; username?: string; onDelete: () => void; onCancel: () => void; }; export default function DeleteUserDialog({ show, username, onDelete, onCancel, }: DeleteUserDialogProps) { return (
Delete User This action cannot be undone. This will permanently delete the user account and remove all associated data.

Are you sure you want to delete{" "} {username}?

); }