How to get the src attribute of an image element when I’m doing map, in react

I am working on a slider and I need that when I hover over an element of this slider (ie an image) a modal is displayed with the respective image and other information. The problem is that I don’t know how to get the src of the image corresponding to the one that is hovered, since I’m doing map, I’m using typescript, could someone help me please?

        <RowContainer ref={sliderFullRef}>
      {collection.map((movie?) => (
        // eslint-disable-next-line @next/next/no-img-element
        <img key={uuid()} src={movie.imageRow} alt="Cover" />
      ))}
    </RowContainer>