react-image-annotate-master-custom 0.0.12 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,9 +17,14 @@ var RegionComponents = {
17
17
  }, React.createElement("path", {
18
18
  d: "M 1.866 12.7018 C 4.234 9.7951 9.486 2.7501 9.486 -1.207 C 9.486 -6.0063 5.5922 -9.9 0.793 -9.9 S -7.9 -6.0063 -7.9 -1.207 c 0 3.9571 5.2973 11.0021 7.62 13.9088 c 0.5569 0.6927 1.5892 0.6927 2.1461 0 z M 0.793 -4.1047 A 2.8977 2.8977 90 1 1 0.793 1.6907 a 2.8977 2.8977 90 1 1 0 -5.7953 z",
19
19
  strokeWidth: 2,
20
- stroke: region.color,
21
- fill: region.color
22
- }));
20
+ stroke: "#E45B21",
21
+ fill: "#E45B21"
22
+ }), React.createElement("text", {
23
+ x: "15",
24
+ y: "15",
25
+ fill: "red",
26
+ fontSize: "12"
27
+ }, region === null || region === void 0 ? void 0 : region.sid));
23
28
  }),
24
29
  line: memo(function (_ref2) {
25
30
  var region = _ref2.region,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-image-annotate-master-custom",
3
- "version": "0.0.12",
3
+ "version": "0.0.16",
4
4
  "dependencies": {
5
5
  "@fortawesome/fontawesome-svg-core": "^1.2.12",
6
6
  "@fortawesome/free-solid-svg-icons": "^5.6.3",