/** * SimpleApplyBar -- A sticky bottom bar showing the pending change count * and a "Review & Apply" button for Simple mode category panels. */ import { Button } from '@/components/ui/button' interface SimpleApplyBarProps { pendingCount: number isApplying: boolean onReviewClick: () => void } export function SimpleApplyBar({ pendingCount, isApplying, onReviewClick, }: SimpleApplyBarProps) { if (pendingCount === 0) return null return (
{pendingCount} pending change{pendingCount !== 1 ? 's' : ''}
) }