material-ui-popup-state
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -36,3 +36,3 @@ "use strict"; | ||
function hoverWorkaround(Comp) { | ||
const HoverWorkaround = (_ref) => { | ||
const HoverWorkaround = React.forwardRef((_ref, ref) => { | ||
let { | ||
@@ -49,2 +49,3 @@ classes: { | ||
return React.createElement(Comp, _extends({ | ||
ref: ref, | ||
classes: classes, | ||
@@ -58,5 +59,4 @@ style: _objectSpread({ | ||
}, props)); | ||
}; | ||
}); | ||
return (0, _withStyles.default)(styles)(HoverWorkaround); | ||
} |
@@ -32,3 +32,3 @@ "use strict"; | ||
function hoverWorkaround(Comp) { | ||
var HoverWorkaround = function HoverWorkaround(_ref) { | ||
var HoverWorkaround = React.forwardRef(function (_ref, ref) { | ||
var _ref$classes = _ref.classes, | ||
@@ -41,2 +41,3 @@ _modalRoot = _ref$classes._modalRoot, | ||
return React.createElement(Comp, (0, _extends2.default)({ | ||
ref: ref, | ||
classes: classes, | ||
@@ -50,5 +51,4 @@ style: (0, _objectSpread2.default)({ | ||
}, props)); | ||
}; | ||
}); | ||
return (0, _withStyles.default)(styles)(HoverWorkaround); | ||
} |
{ | ||
"name": "material-ui-popup-state", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "easiest way to create menus, popovers, and poppers with material-ui", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
552063
1160