Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MUI: The `fade` color utility was renamed to `alpha` to better describe its functionality. (material-table)

I am using material-table (npm latest v1.69.3) with MUI v5.0.6 since I need a editable table. I got this msg in my console.

enter image description here

It says import alpha but since fade is used in material-table which is a npm package I don't know what to do here.

What I want to know is why is this error occurring, how to get rid of this error and fix the issue. Can someone please help me out?

like image 356
Shakya Karunathilake Avatar asked Oct 31 '21 04:10

Shakya Karunathilake


1 Answers

material-table package is not actively maintained anymore and currently it only supports MUI v4. There is a community fork here where you can use the material table with MUI v5 by installing the next version:

npm install @material-table/core@next

Codesandbox Demo

like image 68
NearHuscarl Avatar answered Oct 11 '22 01:10

NearHuscarl