# React Compare Image

Simple React component to compare two images using slider.

## Demo
[DEMO](https://react-compare-image.firebaseapp.com/)

## Features

- Simple
- Responsive (reloading required after window resize, though)
- Handles size difference between two images. frame size determined by following two factors:
  - width of the parent width
  - right images aspect rasio

## How to use
```jsx
<ReactCompareImage
  leftImage="image1.jpg"
  rightImage="image2.jpg"
/>
```