File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ React Component to highlight interactive zones in images
12
12
5. Selected area will stay highlighted ( Single & Multiple ) with toggle and reset feature
13
13
6. New Properties: Natural Dimensions, RerenderProps
14
14
7. Image Reference in Width, Height and onLoad function to access image properties
15
- 8. Responsive image mapper
15
+ 8. Responsive Image Mapper
16
+ 9. Compatible with Next.js
16
17
```
17
18
18
19
## Installation
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-img-mapper" ,
3
- "version" : " 1.1.10 " ,
3
+ "version" : " 1.2.0 " ,
4
4
"description" : " React Component to highlight interactive zones in images" ,
5
5
"keywords" : [
6
6
" react" ,
21
21
},
22
22
"license" : " MIT" ,
23
23
"author" : " Nisharg Shah" ,
24
+ "type" : " commonjs" ,
24
25
"main" : " dist/ImageMapper.js" ,
25
26
"types" : " dist/ImageMapper.d.ts" ,
26
- "type" : " commonjs" ,
27
27
"scripts" : {
28
28
"build" : " tsc" ,
29
29
"lint" : " eslint . --ext .tsx" ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"compilerOptions" : {
3
3
"target" : " es5" ,
4
- "module" : " commonjs " ,
4
+ "module" : " CommonJS " ,
5
5
"lib" : [
6
6
" dom" ,
7
7
" dom.iterable" ,
You can’t perform that action at this time.
0 commit comments