Shakya Karunathilake
Shakya Karunathilake

Reputation: 535

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?

Upvotes: 12

Views: 12357

Answers (1)

NearHuscarl
NearHuscarl

Reputation: 81520

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

Upvotes: 7

Related Questions