react-image-marker
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -83,3 +83,3 @@ | ||
React.createElement("img", { src: src, alt: "Blueprint", onClick: handleImageClick, className: "image-marker__image", ref: imageRef }), | ||
markers.map(function (marker, itemNumber) { return (React.createElement("div", { className: "image-marker__marker image-marker__marker--default", style: getItemPosition(marker), key: itemNumber }, MarkerComponent ? (React.createElement(MarkerComponent, __assign({}, marker, { itemNumber: itemNumber }))) : (itemNumber + 1))); }))); | ||
markers.map(function (marker, itemNumber) { return (React.createElement("div", { className: "image-marker__marker " + (MarkerComponent && 'image-marker__marker--default'), style: getItemPosition(marker), key: itemNumber }, MarkerComponent ? (React.createElement(MarkerComponent, __assign({}, marker, { itemNumber: itemNumber }))) : (itemNumber + 1))); }))); | ||
}; | ||
@@ -86,0 +86,0 @@ |
{ | ||
"name": "react-image-marker", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Allows to add markers to an image", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10701