@types/react-data-grid
Advanced tools
Comparing version 2.0.18 to 2.0.19
// Type definitions for react-data-grid 2.0 | ||
// Project: https://github.com/adazzle/react-data-grid.git | ||
// Definitions by: Simon Gellis <https://github.com/SupernaviX>, | ||
// Kieran Peat <https://github.com/KieranPeat>, | ||
// Definitions by: Simon Gellis <https://github.com/SupernaviX>, | ||
// Kieran Peat <https://github.com/KieranPeat>, | ||
// Martin Novak <https://github.com/martinnov92>, | ||
@@ -78,7 +78,7 @@ // Raghuram Iyer 'Ragzzy-R' <https://github.com/Ragzzy-R> | ||
*/ | ||
rowRenderer?: React.ReactElement | React.ComponentClass<any> | React.StatelessComponent<any> | undefined | ||
rowRenderer?: React.ReactElement | React.ComponentClass<any> | React.FunctionComponent<any> | undefined | ||
/** | ||
* A component to display when there are no rows to render. | ||
*/ | ||
emptyRowsView?: React.ComponentClass<any> | React.StatelessComponent<any> | undefined | ||
emptyRowsView?: React.ComponentClass<any> | React.FunctionComponent<any> | undefined | ||
@@ -225,3 +225,3 @@ /** | ||
*/ | ||
selectAllRenderer?: React.ComponentClass<any> | React.StatelessComponent<any> | undefined; | ||
selectAllRenderer?: React.ComponentClass<any> | React.FunctionComponent<any> | undefined; | ||
/** | ||
@@ -231,3 +231,3 @@ * A custom formatter for select row column | ||
*/ | ||
rowActionsCell?: React.ComponentClass<any> | React.StatelessComponent<any> | undefined; | ||
rowActionsCell?: React.ComponentClass<any> | React.FunctionComponent<any> | undefined; | ||
/** | ||
@@ -240,3 +240,3 @@ * An event function called when a row is clicked. | ||
onRowClick?: ((rowIdx: number, row: object) => void) | undefined | ||
/** | ||
@@ -327,3 +327,3 @@ * An event function called when a row is clicked. | ||
*/ | ||
filterRenderer?: React.ReactElement | React.ComponentClass<any> | React.StatelessComponent<any> | undefined; | ||
filterRenderer?: React.ReactElement | React.ComponentClass<any> | React.FunctionComponent<any> | undefined; | ||
/** | ||
@@ -333,11 +333,11 @@ * The editor for this column. Several editors are available in "react-data-grid/addons". | ||
*/ | ||
editor?: React.ReactElement | React.ComponentClass<any> | React.StatelessComponent<any> | undefined | ||
editor?: React.ReactElement | React.ComponentClass<any> | React.FunctionComponent<any> | undefined | ||
/** | ||
* A custom read-only formatter for this column. An image formatter is available in "react-data-grid/addons". | ||
*/ | ||
formatter?: React.ReactElement | React.ComponentClass<any> | React.StatelessComponent<any> | undefined | ||
formatter?: React.ReactElement | React.ComponentClass<any> | React.FunctionComponent<any> | undefined | ||
/** | ||
* A custom formatter for this column's header. | ||
*/ | ||
headerRenderer?: React.ReactElement | React.ComponentClass<any> | React.StatelessComponent<any> | undefined | ||
headerRenderer?: React.ReactElement | React.ComponentClass<any> | React.FunctionComponent<any> | undefined | ||
/** | ||
@@ -344,0 +344,0 @@ * Events to be bound to the cells in this specific column. |
{ | ||
"name": "@types/react-data-grid", | ||
"version": "2.0.18", | ||
"version": "2.0.19", | ||
"description": "TypeScript definitions for react-data-grid", | ||
@@ -14,3 +14,3 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-data-grid", | ||
{ | ||
"name": "\n// Kieran Peat", | ||
"name": "Kieran Peat", | ||
"url": "https://github.com/KieranPeat", | ||
@@ -20,3 +20,3 @@ "githubUsername": "KieranPeat" | ||
{ | ||
"name": "\n// Martin Novak", | ||
"name": "Martin Novak", | ||
"url": "https://github.com/martinnov92", | ||
@@ -42,4 +42,4 @@ "githubUsername": "martinnov92" | ||
}, | ||
"typesPublisherContentHash": "436b90ecc1876763301b2d5070e7e5ea6915ea23ed69b8ae5627f2d27f66f260", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "c48e0e1a8f64348e6e781b106c3f594f3b0f3b9b9abbf29cba635ebd8c8df982", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 08 Jul 2021 20:20:35 GMT | ||
* Last updated: Wed, 20 Oct 2021 21:01:40 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -17,4 +17,2 @@ * Global values: `AdazzleReactDataGrid`, `AdazzleReactDataGridPlugins` | ||
# Credits | ||
These definitions were written by [Simon Gellis](https://github.com/SupernaviX), [ | ||
// Kieran Peat](https://github.com/KieranPeat), [ | ||
// Martin Novak](https://github.com/martinnov92), and [Raghuram Iyer 'Ragzzy-R'](https://github.com/Ragzzy-R). | ||
These definitions were written by [Simon Gellis](https://github.com/SupernaviX), [Kieran Peat](https://github.com/KieranPeat), [Martin Novak](https://github.com/martinnov92), and [Raghuram Iyer 'Ragzzy-R'](https://github.com/Ragzzy-R). |
25361
17