'use client'; import { Clock } from 'lucide-react'; export function deletingResourceMessage( kind: 'application' | 'service', name?: string, ): string { if (kind === 'service') { return name ? `Deleting “${name}”…` : 'Deleting service…'; } return name ? `Deleting “${name}”…` : 'Deleting application…'; } /** Single table cell spanning the full row — content centered in the row. */ export function DeletingTableRowCell({ colSpan, message = 'Deleting…', }: { colSpan: number; message?: string; }) { return (
{message}
); } /** Full-card overlay while delete is in progress. Parent must be `relative`. */ export function DeletingCardOverlay({ message = 'Deleting…' }: { message?: string }) { return (
{message}
); }