mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Add loader into react-infinite-scroller's props (#16685)
This commit is contained in:
4
types/react-infinite-scroller/index.d.ts
vendored
4
types/react-infinite-scroller/index.d.ts
vendored
@@ -55,6 +55,10 @@ declare module 'react-infinite-scroller' {
|
||||
* Defaults to true.
|
||||
*/
|
||||
useWindow?: boolean;
|
||||
/**
|
||||
* Loader component for indicating "loading more".
|
||||
*/
|
||||
loader?: React.ReactElement<any>;
|
||||
}
|
||||
|
||||
export default class InfiniteScroll extends React.Component<InfiniteScrollProps, any> { }
|
||||
|
||||
Reference in New Issue
Block a user