interface TypeBadgeProps {
  type: string
  size?: 'sm' | 'md'
}

export function TypeBadge({ type, size = 'sm' }: TypeBadgeProps) {
  const height = size === 'md' ? 'h-5' : 'h-4'
  return (
    <img
      src={`/types/${type}.png`}
      alt={type}
      className={`${height} w-auto`}
    />
  )
}
