diff --git a/README.md b/README.md index b4403e2..a3b8bf3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # React Image Crop -A responsive image cropping tool for React. +An image cropping tool for React with no dependencies. [![React Image Crop on NPM](https://img.shields.io/npm/v/react-image-crop.svg)](https://www.npmjs.com/package/react-image-crop) @@ -17,17 +17,15 @@ A responsive image cropping tool for React. 6. [FAQ](#faq) 1. [What about showing the crop on the client?](#what-about-showing-the-crop-on-the-client) 2. [How to handle image EXIF orientation/rotation](#how-to-handle-image-exif-orientationrotation) - 3. [How to create a fixed aspect crop programmatically](#how-to-create-a-fixed-aspect-crop-programmatically) 7. [Contributing / Developing](#contributing--developing) ## Features -- Responsive - Touch enabled - Free-form or fixed aspect crops - Keyboard support for nudging selection - Min/max crop size -- No dependencies/small footprint (~4.5KB gzip) +- No dependencies/small footprint (5KB gzip) ## Installation ``` @@ -36,11 +34,9 @@ npm i react-image-crop --save ## Usage -Include the main js module, e.g.: +Include the main js module: ```js -var ReactCrop = require('react-image-crop'); -// or es6: import ReactCrop from 'react-image-crop'; ``` @@ -75,9 +71,9 @@ Note when importing the script globally using a `