@easyv/utils
Advanced tools
Comparing version 0.0.32 to 0.0.33
@@ -131,11 +131,10 @@ "use strict"; | ||
}, [ref, onBlur, onKeyDown, editable]); | ||
var editableStyle = editable ? { | ||
pointerEvents: 'auto', | ||
cursor: 'auto' | ||
} : {}; | ||
return /*#__PURE__*/_react["default"].createElement("div", { | ||
style: _objectSpread(_objectSpread({}, style), editableStyle), | ||
return editable ? /*#__PURE__*/_react["default"].createElement("div", { | ||
style: _objectSpread(_objectSpread({}, style), {}, { | ||
pointerEvents: 'auto', | ||
cursor: 'auto' | ||
}), | ||
ref: setRef | ||
}, children); | ||
}, children) : children; | ||
}); | ||
exports.ContentEditable = ContentEditable; |
{ | ||
"name": "@easyv/utils", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
179248
4638