rc-virtual-list
Advanced tools
Comparing version 0.0.0-rc.0 to 0.0.0-rc.1
@@ -74,3 +74,4 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; } | ||
export function getNodeHeight(node) { | ||
return findDOMNode(node).offsetHeight; | ||
var element = findDOMNode(node); | ||
return element ? element.offsetHeight : 0; | ||
} | ||
@@ -77,0 +78,0 @@ /** |
@@ -97,3 +97,4 @@ "use strict"; | ||
function getNodeHeight(node) { | ||
return (0, _findDOMNode.default)(node).offsetHeight; | ||
var element = (0, _findDOMNode.default)(node); | ||
return element ? element.offsetHeight : 0; | ||
} | ||
@@ -100,0 +101,0 @@ /** |
{ | ||
"name": "rc-virtual-list", | ||
"version": "0.0.0-rc.0", | ||
"version": "0.0.0-rc.1", | ||
"description": "React Virtual List Component", | ||
"engines": { | ||
"node": ">=8.x" | ||
}, | ||
"keywords": [ | ||
@@ -6,0 +9,0 @@ "react", |
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
116343
2514