material-ui-datatables icon indicating copy to clipboard operation
material-ui-datatables copied to clipboard

TypeError: Cannot read property 'baseTheme' of undefined

Open ilyasahsan123 opened this issue 6 years ago • 3 comments

hallo, i have issue like this: `getStyles 93 | // customized components 94 | function getStyles(props, context) { 95 | var _context$muiTheme = context.muiTheme,

96 | palette = _context$muiTheme.baseTheme.palette, 97 | table = _context$muiTheme.table, 98 | tableHeaderColumn = _context$muiTheme.tableHeaderColumn; 99 | `

ilyasahsan123 avatar Mar 13 '18 03:03 ilyasahsan123

Same here. What version of the material-ui package are you using? I had no problems until I upgraded to the new beta

lummish avatar Mar 30 '18 16:03 lummish

The latest material ui with latest react

ilyasahsan123 avatar Apr 01 '18 06:04 ilyasahsan123

This very nice table wouldn't work with the material-ui v.1 - they introduced the whole new API and broke a bunch of stuff. Note: "Now material-ui provides example code of data tables component with it's v1.0.0 package" on the front page of this repo. It's lacking a bunch of functionality though.

lentyai2 avatar Apr 11 '18 19:04 lentyai2