'use client'; /* NeedsAttentionStrip — phase 03 (DASH-02). * * Horizontal-scroll strip of compact attention cards. Each card shows a * count + label and is a next/link to the destination view. The strip * uses native horizontal overflow with snap-x for momentum scroll on * iOS/Android. Renders nothing when items=[]. */ import Link from 'next/link'; import { AlertTriangle, ChevronRight } from 'lucide-react'; export interface NeedsAttentionItem { id: string; label: string; count: number; href: string; } interface NeedsAttentionStripProps { items: NeedsAttentionItem[]; } export function NeedsAttentionStrip({ items }: NeedsAttentionStripProps) { if (items.length === 0) return null; return (

Needs attention

{items.map(item => (
0 ? 'text-destructive' : 'text-muted-foreground'}`} />

0 ? 'text-destructive' : ''}`}> {item.count}

{item.label}

))}
); }