A React library for zooming images like Medium
npm install --save react-medium-zoom
import React, { Component } from 'react'
import ReactMediumImg from 'react-medium-zoom'
class App extends Component {
render () {
return (
<ReactMediumImg
src={'image'}
onOpen={() => console.log('Image Open')}
onClosed={() => console.log('Image closed')}
{...allImageProps}
/>
)
}
}
MIT © shahen94