diff --git a/README.md b/README.md index d5a9091..0fc4f90 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # react-responsive-pinch-zoom-pan -A React component that adds pinch-zoom and pan capability to an `` element. Both mobile and desktop browsers are supported. On desktop browsers, zoom is triggered via the mouse scrollwheel. +A React component that adds pinch-zoom and pan capability to an `img` element. Both mobile and desktop browsers are supported. In desktop mode, you zoom with the mouse scrollwheel, and pan by dragging. -Zoom and pan are applied using CSS transforms. +On render, the zoom and pan values are applied using CSS transforms. ## Install @@ -32,7 +32,7 @@ const App = () => { return (
- Test Image + Test Image
); @@ -60,4 +60,4 @@ To set up the project: 2. `npm install` 3. `npm start` -The example page will be available on http://localhost:3001 in watch mode, meaning you don't have to refresh the page to see your changes. \ No newline at end of file +The example page will be available on http://localhost:3001 in watch mode, meaning you don't have to refresh the page to see your changes.