mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
react-window: update to 1.8.5 (#37497)
* react-window: update to 1.8.5 * Fix grammar
This commit is contained in:
parent
18e8221de5
commit
d1e5d80896
12
types/react-window/index.d.ts
vendored
12
types/react-window/index.d.ts
vendored
@ -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:
|
||||
*
|
||||
|
||||
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user