Skip to content

Commit

Permalink
Compatible with Next.js
Browse files Browse the repository at this point in the history
  • Loading branch information
NishargShah committed Jul 12, 2021
1 parent acd2d1b commit 0de4f51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ React Component to highlight interactive zones in images
5. Selected area will stay highlighted ( Single & Multiple ) with toggle and reset feature
6. New Properties: Natural Dimensions, RerenderProps
7. Image Reference in Width, Height and onLoad function to access image properties
8. Responsive image mapper
8. Responsive Image Mapper
9. Compatible with Next.js
```

## Installation
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-img-mapper",
"version": "1.1.10",
"version": "1.2.0",
"description": "React Component to highlight interactive zones in images",
"keywords": [
"react",
Expand All @@ -21,9 +21,9 @@
},
"license": "MIT",
"author": "Nisharg Shah",
"type": "commonjs",
"main": "dist/ImageMapper.js",
"types": "dist/ImageMapper.d.ts",
"type": "commonjs",
"scripts": {
"build": "tsc",
"lint": "eslint . --ext .tsx",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"module": "CommonJS",
"lib": [
"dom",
"dom.iterable",
Expand Down

0 comments on commit 0de4f51

Please sign in to comment.