import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, } from '@/components/ui/alert-dialog'; interface Props { open: boolean; onOpenChange: (open: boolean) => void; onConfirm: () => void; isCurrentSession: boolean; } export function SessionRevokeConfirmDialog({ open, onOpenChange, onConfirm, isCurrentSession }: Props) { return ( Revoke Session? {isCurrentSession ? ( <> This is your current session. Revoking it will sign you out immediately and you'll need to log in again. ) : ( <> This will immediately end the selected session. The device using that session will be signed out. )} Cancel {isCurrentSession ? 'Sign Out' : 'Revoke Session'} ); }