react-lazyload: Improve typing of placeholder

This commit is contained in:
Lydie Danet
2019-02-19 16:14:04 +13:00
parent 6fe9d46a90
commit 3e98e8cdb1
+1 -1
View File
@@ -16,7 +16,7 @@ export interface LazyLoadProps {
children?: ReactNode;
throttle?: number | boolean;
debounce?: number | boolean;
placeholder?: any;
placeholder?: ReactNode;
unmountIfInvisible?: boolean;
}