I am trying to import 'GridActionsCellItem' from '@mui/x-data-grid' as:
import { GridActionsCellItem } from '@mui/x-data-grid';
But it shows error as:
Attempted import error: 'GridActionsCellItem' is not exported from '@mui/x-data-grid'.
I am copying the official documentation code from here.
Can anyone help me with this?
I solved this problem by upgrading my '@mui/x-data-grid' from 4.4.to '5.0.0-beta.2'. Just replace the version of your @mui/x-data-grid package in your package.json with ^5.0.0-beta.2 and it should work.