material-table-readthisover
Advanced tools
Comparing version 1.64.6 to 1.64.7
@@ -58,3 +58,3 @@ "use strict"; | ||
_this = (0, _possibleConstructorReturn2["default"])(this, (_getPrototypeOf2 = (0, _getPrototypeOf3["default"])(MTableAction)).call.apply(_getPrototypeOf2, [this].concat(args))); | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "generateIcon", function (action) { | ||
(0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this), "generateIcon", function (action, docLink) { | ||
var isString = typeof action.icon === 'string'; | ||
@@ -64,3 +64,3 @@ | ||
return React.createElement("a", { | ||
href: action.docLink, | ||
href: docLink, | ||
target: "_blank" | ||
@@ -118,3 +118,3 @@ }, React.createElement("img", { | ||
} | ||
}, this.generateIcon(action)); | ||
}, this.generateIcon(action, this.props.data.docLink)); | ||
@@ -121,0 +121,0 @@ if (action.tooltip) { |
@@ -28,3 +28,2 @@ "use strict"; | ||
iconProps: _propTypes["default"].object, | ||
docLink: _propTypes["default"].string, | ||
imageSrc: _propTypes["default"].any, | ||
@@ -31,0 +30,0 @@ imageAlt: _propTypes["default"].string, |
{ | ||
"name": "material-table-readthisover", | ||
"version": "1.64.6", | ||
"version": "1.64.7", | ||
"description": "Datatable for React based on https://material-ui.com/api/table/ with additional features", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -78,5 +78,4 @@ import * as React from 'react'; | ||
iconProps?: IconProps; | ||
docLink: string; | ||
imageSrc: any; | ||
imageAlt: string; | ||
imageSrc?: any; | ||
imageAlt?: string; | ||
hidden?: boolean; | ||
@@ -83,0 +82,0 @@ } |
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
239397
5192