import React from 'react'; import { XMarkIcon } from '@heroicons/react/24/outline'; export interface BulkAction { label: string; icon?: React.ReactNode; onClick: () => void; variant?: 'danger' | 'primary' | 'secondary'; } interface BulkActionBarProps { selectedCount: number; actions: BulkAction[]; onClearSelection: () => void; } /** * BulkActionBar Component * A floating bar that appears when items are selected in a list/table. * Supports light/dark modes and custom actions. */ export default function BulkActionBar({ selectedCount, actions, onClearSelection }: BulkActionBarProps) { if (selectedCount === 0) return null; return (