From 702a8bf8fa827e6af5f6b7fa272e6ab9235b3c29 Mon Sep 17 00:00:00 2001 From: Alex Guerra Date: Thu, 7 Feb 2019 12:36:23 -0600 Subject: [PATCH] Pass data and isScrolling to child component props --- types/react-window/index.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/types/react-window/index.d.ts b/types/react-window/index.d.ts index 2153838937..46fbce7569 100644 --- a/types/react-window/index.d.ts +++ b/types/react-window/index.d.ts @@ -13,12 +13,16 @@ export type Align = "auto" | "center" | "end" | "start"; export interface ListChildComponentProps { index: number; style: CSSProperties; + data: any; + isScrolling?: boolean; } export interface GridChildComponentProps { columnIndex: number; rowIndex: number; style: CSSProperties; + data: any; + isScrolling?: boolean; } export interface CommonProps {