DataTable.d.ts groupRowsBy type fix

This commit is contained in:
Emre Kaan Şurgun 2022-12-28 09:17:31 +03:00
parent 66668701f8
commit 585ff570d6

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.
*/