import type { UnifiedMatchResult } from '../../domain/unifiedResult'
import { UnifiedResultCard } from './UnifiedResultCard'

interface Props {
  results: UnifiedMatchResult[]
}

export function UnifiedResultFeed({ results }: Props) {
  return (
    <>
      {results.map(result => (
        <UnifiedResultCard key={result.matchId} result={result} />
      ))}
    </>
  )
}
