mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
[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:
committed by
Andrew Branch
parent
82b9c3b417
commit
7c2c4a1a3f
Vendored
+3
-2
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user