lundi 27 septembre 2021

Attempted import error: 'GridActionsCellItem' is not exported from '@mui/x-data-grid'

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?




Aucun commentaire:

Enregistrer un commentaire