Added missing prop 'resize' (#25029)

This commit is contained in:
Daphne
2018-04-24 16:29:34 -07:00
committed by Wesley Wigham
parent ebad624215
commit 93bef66405
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@ export interface LazyLoadProps {
height?: number | string;
offset?: number | number[];
overflow?: boolean;
resize?: boolean;
scroll?: boolean;
children?: JSX.Element;
throttle?: number | boolean;
@@ -24,7 +24,7 @@ class Normal extends React.Component<{}, State> {
<div>
{this.state.arr.map((el, index) => {
return (
<LazyLoad once={true} key={index} height={200} offset={50}>
<LazyLoad once={true} resize={true} key={index} height={200} offset={50}>
<p id={`${index}`} >
count={index + 1}
</p>