"use client"; import { AlertDialog, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction, } from "@/components/ui/alert-dialog"; interface DeleteChannelDialogProps { channelName: string; open: boolean; onOpenChange: (open: boolean) => void; onConfirm: () => void; isPending: boolean; } export function DeleteChannelDialog({ channelName, open, onOpenChange, onConfirm, isPending, }: DeleteChannelDialogProps) { return ( Delete channel? {channelName} and all its schedules will be permanently deleted. This cannot be undone. Cancel {isPending ? "Deleting…" : "Delete"} ); }