react-window: update to 1.8.5 (#37497)

* react-window: update to 1.8.5

* Fix grammar
This commit is contained in:
Dmitry 2019-08-09 17:29:25 +03:00 committed by Nathan Shively-Sanders
parent 18e8221de5
commit d1e5d80896
2 changed files with 12 additions and 4 deletions

View File

@ -264,6 +264,10 @@ export interface GridProps extends CommonProps {
* Called when the grid scroll positions changes, as a result of user scrolling or scroll-to method calls.
*/
onScroll?: (props: GridOnScrollProps) => any;
/**
* @deprecated since version 1.8.2, please use overscanColumnCount
*/
overscanColumnsCount?: number;
/**
* The number of columns to render outside of the visible area. This property can be important for two reasons:
*
@ -272,7 +276,11 @@ export interface GridProps extends CommonProps {
*
* Note that overscanning too much can negatively impact performance. By default, grid overscans by one item.
*/
overscanColumnsCount?: number;
overscanColumnCount?: number;
/**
* @deprecated since version 1.8.2, please use overscanRowCount
*/
overscanRowsCount?: number;
/**
* The number of rows to render outside of the visible area. This property can be important for two reasons:
*
@ -281,7 +289,7 @@ export interface GridProps extends CommonProps {
*
* Note that overscanning too much can negatively impact performance. By default, grid overscans by one item.
*/
overscanRowsCount?: number;
overscanRowCount?: number;
/**
* The number of items (rows or columns) to render outside of the visible area. This property can be important for two reasons:
*

View File

@ -193,8 +193,8 @@ const VariableSizeGridTestOptionalProps: React.SFC<{ testBool: boolean }> = ({
}) => undefined}
outerRef={anyRef}
outerElementType="div"
overscanColumnsCount={5}
overscanRowsCount={5}
overscanColumnCount={5}
overscanRowCount={5}
ref="ref"
style={{ color: "red" }}
useIsScrolling={true}