File size: 453 Bytes
9398f44
 
 
 
 
 
9118313
 
9398f44
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export default function OptionImage({ src, letter }) {
  if (!src) return null
  return (
    <img
      src={src}
      alt={`option ${letter}`}
      width={320}
      height={137}
      loading="lazy"
      decoding="async"
      className="mt-2 w-full max-w-sm max-h-32 object-contain rounded cursor-pointer bg-muted aspect-[21/9]"
      onClick={(event) => {
        event.stopPropagation()
        window.open(src, '_blank')
      }}
    />
  )
}