mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-04 19:42:46 +08:00
react-virtualized: Allow null tabIndex (#24777)
This commit is contained in:
committed by
Mohamed Hegazy
parent
089d570806
commit
7fa673a804
2
types/react-virtualized/dist/es/Grid.d.ts
vendored
2
types/react-virtualized/dist/es/Grid.d.ts
vendored
@@ -282,7 +282,7 @@ export type GridCoreProps = {
|
||||
/** Optional inline style */
|
||||
style?: React.CSSProperties;
|
||||
/** Tab index for focus */
|
||||
tabIndex?: number;
|
||||
tabIndex?: number | null;
|
||||
/**
|
||||
* Width of Grid; this property determines the number of visible (vs virtualized) columns.
|
||||
*/
|
||||
|
||||
2
types/react-virtualized/dist/es/List.d.ts
vendored
2
types/react-virtualized/dist/es/List.d.ts
vendored
@@ -60,7 +60,7 @@ export type ListProps = GridCoreProps & {
|
||||
/** Optional inline style */
|
||||
style?: React.CSSProperties;
|
||||
/** Tab index for focus */
|
||||
tabIndex?: number;
|
||||
tabIndex?: number | null;
|
||||
/** Width of list */
|
||||
width: number;
|
||||
}
|
||||
|
||||
2
types/react-virtualized/dist/es/Masonry.d.ts
vendored
2
types/react-virtualized/dist/es/Masonry.d.ts
vendored
@@ -45,7 +45,7 @@ export type MasonryProps = {
|
||||
scrollingResetTimeInterval?: number,
|
||||
scrollTop?: number,
|
||||
style?: React.CSSProperties,
|
||||
tabIndex?: number,
|
||||
tabIndex?: number | null,
|
||||
width: number,
|
||||
/**
|
||||
* PLEASE NOTE
|
||||
|
||||
2
types/react-virtualized/dist/es/Table.d.ts
vendored
2
types/react-virtualized/dist/es/Table.d.ts
vendored
@@ -291,7 +291,7 @@ export type TableProps = GridCoreProps & {
|
||||
/** Optional inline style */
|
||||
style?: React.CSSProperties;
|
||||
/** Tab index for focus */
|
||||
tabIndex?: number;
|
||||
tabIndex?: number | null;
|
||||
/** Width of list */
|
||||
width?: number;
|
||||
}
|
||||
|
||||
1
types/react-virtualized/index.d.ts
vendored
1
types/react-virtualized/index.d.ts
vendored
@@ -6,6 +6,7 @@
|
||||
// Szőke Szabolcs <https://github.com/szabolcsx>
|
||||
// Kræn Hansen <https://github.com/kraenhansen>
|
||||
// Steve Zhang <https://github.com/Stevearzh>
|
||||
// Maciej Goszczycki <https://github.com/mgoszcz2>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.6
|
||||
|
||||
|
||||
Reference in New Issue
Block a user