mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Added missing prop 'resize' (#25029)
This commit is contained in:
Vendored
+1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user