import { Button } from '@/components/radix/Button'; import { useTheme } from '@/lib/contexts/ThemeContext'; interface DeleteActionButtonProps { selectedCount: number; itemType: string; onDelete: () => void; className?: string; } export function DeleteActionButton({ selectedCount, itemType, onDelete, className = '', }: DeleteActionButtonProps) { const { resolvedTheme } = useTheme(); const getItemLabel = (count: number, type: string) => { const singular = type.charAt(0).toUpperCase() + type.slice(1); const plural = type === 'user' ? 'Users' : type === 'record' ? 'Records' : type === 'file' ? 'Files' : `${singular}s`; return count === 1 ? singular : plural; }; return ( ); }