1.0.2 • Published 1 year ago

react-image-zoom-hover v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-image-zoom

Made with create-react-library

NPM JavaScript Style Guide

Preview

Preview

Install

npm install --save react-image-zoom-hover

Usage

import React from 'react'

import { ImageZoom } from 'react-image-zoom'
import 'react-image-zoom/dist/index.css'
import bigImage from 'react-image-zoom-hover/example/public/example.jpg' 
const App = () =>
{
  return <div class="center"><ImageZoom bigImage={bigImage}><img width="200" height="200"  src="example.jpg" className="image" alt="example_image" /></ImageZoom></div>
}

export default App

ChangeLog

1.1 Support for mobile was added.

License

MIT © nvwebm