rc-virtual-list
Advanced tools
Comparing version 0.0.0-alpha.12 to 0.0.0-alpha.13
import * as React from 'react'; | ||
declare type RenderFunc<T> = (item: T, index: number, props: { | ||
export declare type RenderFunc<T> = (item: T, index: number, props: { | ||
style: React.CSSProperties; | ||
@@ -4,0 +4,0 @@ }) => React.ReactNode; |
@@ -74,6 +74,2 @@ 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) { | ||
if (!node) { | ||
return 0; | ||
} | ||
return findDOMNode(node).offsetHeight; | ||
@@ -80,0 +76,0 @@ } |
import * as React from 'react'; | ||
declare type RenderFunc<T> = (item: T, index: number, props: { | ||
export declare type RenderFunc<T> = (item: T, index: number, props: { | ||
style: React.CSSProperties; | ||
@@ -4,0 +4,0 @@ }) => React.ReactNode; |
@@ -97,6 +97,2 @@ "use strict"; | ||
function getNodeHeight(node) { | ||
if (!node) { | ||
return 0; | ||
} | ||
return (0, _findDOMNode.default)(node).offsetHeight; | ||
@@ -103,0 +99,0 @@ } |
{ | ||
"name": "rc-virtual-list", | ||
"version": "0.0.0-alpha.12", | ||
"version": "0.0.0-alpha.13", | ||
"description": "React Virtual List Component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
99525
26
2119