A
A
Andrey Okhotnikov2019-07-01 13:47:32
React
Andrey Okhotnikov, 2019-07-01 13:47:32

How to transfer an enlarged image in react-image-magnify?

How to move a magnified image from right to left in the react-image-magnify library? I did not find options in the documentation, in all examples only on the right.

<ReactImageMagnify
            {...{
              largeImage: {
                src: `${API_URL}/images/1200/${item.path}`,
                width: 1200,
                height: 1800,
                enlargedImageClassName: 'large-image'
              },
              smallImage: {
                alt: name,
                isFluidWidth: true,
                src: `${API_URL}/images/320/${item.path}`
              },
            }}
          />

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2019-07-01
@tsepen

optional styling props

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question