Merge pull request #3449 from emrekaansurgun/master

DataTable.d.ts groupRowsBy type fix
This commit is contained in:
Tuğçe Küçükoğlu 2023-01-09 13:10:25 +03:00 committed by GitHub
commit 2c206d3d46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -684,7 +684,7 @@ export interface DataTableProps {
/**
* One or more field names to use in row grouping.
*/
groupRowsBy?: (field: string) => object | string[] | string | undefined;
groupRowsBy?: ((field: string) => object) | string[] | string | undefined;
/**
* Whether the row groups can be expandable.
*/