SPB Git forge
15commits 1branches 0releases
29.7 MBsize
maindefault branch
10 days agolast push
TypeScript 36.3% Python 31.8% Go 18% JavaScript 9.8% Shell 1.9% SQL 1.4% CSS 0.5%
517 B · 15 lines tsx
Raw Blame History
1import { Empty } from '@/components/ui/primitives';2import type { Incident } from '@/lib/types';3import { IncidentRow } from './IncidentRow';45export function IncidentsSection({ incidents, compact = true }: { incidents: Incident[]; compact?: boolean }) {6  if (!incidents.length) return <Empty>No incident recorded for this scope.</Empty>;7  return (8    <ul className="divide-y divide-line">9      {incidents.map((i) => (10        <IncidentRow key={i.event_id} inc={i} compact={compact} />11      ))}12    </ul>13  );14}15