[react-lazyload] Updated types (#39002)

* Updated types for @types/react-lazyload

The prop `preventLoading` was introduced [here](https://github.com/twobin/react-lazyload/pull/243) and can be found back in `master` and the README of twobin/react-lazyload:
https://github.com/twobin/react-lazyload#preventloading

* Synchronize order of props with PropTypes from src

* Bump version

Exclude patch version
This commit is contained in:
Robin van Wijngaarden
2019-10-14 16:35:02 -07:00
committed by Andrew Branch
parent 82b9c3b417
commit 7c2c4a1a3f
+3 -2
View File
@@ -1,4 +1,4 @@
// Type definitions for react-lazyload ver 2.5
// Type definitions for react-lazyload ver 2.6
// Project: https://github.com/jasonslyvia/react-lazyload
// Definitions by: m0a <https://github.com/m0a>
// svobik7 <https://github.com/svobik7>
@@ -18,8 +18,9 @@ export interface LazyLoadProps {
throttle?: number | boolean;
debounce?: number | boolean;
placeholder?: ReactNode;
unmountIfInvisible?: boolean;
scrollContainer?: string | Element;
unmountIfInvisible?: boolean;
preventLoading?: boolean;
}
export default class LazyLoad extends Component<LazyLoadProps> {