Module ‘“@material-ui/data-grid”’ has no exported member ‘ColDef’.ts(2305)
Mar 23, 2021
Rename ColDef
to GridColDef
.
For example,
import {
DataGrid,
GridColDef,
ValueGetterParams
} from "@material-ui/data-grid";
Rename ColDef
to GridColDef
.
For example,
import {
DataGrid,
GridColDef,
ValueGetterParams
} from "@material-ui/data-grid";
Don’t follow me. I wrote junks here. Follow me on Twitter instead.