Mui-datatables: Deprecated typography v2 variant warning.

Created on 23 Nov 2018  路  3Comments  路  Source: gregnb/mui-datatables

I am getting following warning -

Warning: Failed prop type: You are using a deprecated typography variant: `title` that will be removed in the next major release.
Please read the migration guide under https://material-ui.com/style/typography#migration-to-typography-v2
    in Typography (created by WithStyles(Typography))
    in WithStyles(Typography) (created by r)
    in div (created by r)
    in div (created by r)
    in div (created by Toolbar)
    in Toolbar (created by WithStyles(Toolbar))
    in WithStyles(Toolbar) (created by r)
    in r (created by t)
    in t (created by WithStyles(t))
    in WithStyles(t) (created by t)
    in t (created by t)
    in div (created by Paper)
    in Paper (created by WithStyles(Paper))

On checking the typography v2 migration docs, it seems following pull request is throwing the warning.
Instead of title, we should be using h6 as per the documentation.

Most helpful comment

Just released

All 3 comments

I have the same problem

"@material-ui/core": "^3.5.1",
"@material-ui/icons": "^3.0.1",
"mui-datatables": "^2.0.0-beta-39"

[Edit] Ok, I've seen its merged at master the fix. I will wait the next version release. #277

Just released

This seems to be fixed. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexanderwhatley picture alexanderwhatley  路  4Comments

Andy1408 picture Andy1408  路  4Comments

krsandesh picture krsandesh  路  3Comments

pranavtheway picture pranavtheway  路  3Comments

mhmmdakbr picture mhmmdakbr  路  4Comments