Skip to content

Commit

Permalink
destruct params
Browse files Browse the repository at this point in the history
Co-authored-by: Bilal Shafi <bilalshafidev@gmail.com>
Signed-off-by: Armin Mehinovic <4390250+arminmeh@users.noreply.github.com>
  • Loading branch information
arminmeh and MBilalShafi authored Sep 11, 2024
1 parent da66472 commit f9d8da6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ export const GRID_DETAIL_PANEL_TOGGLE_COL_DEF: GridColDef = {
return expandedRowIds.includes(rowId);
},
renderCell: (params) => <GridDetailPanelToggleCell {...params} />,
renderHeader: (params) => <div aria-label={params.colDef.headerName} />,
renderHeader: ({ colDef }) => <div aria-label={colDef.headerName} />,
};

0 comments on commit f9d8da6

Please sign in to comment.