hyojin / material-ui-datatables

An another React Data tables component.
MIT License
165 stars 58 forks source link

TypeError: Cannot read property 'baseTheme' of undefined #79

Closed ilyasahsan123 closed 2 months ago

ilyasahsan123 commented 6 years ago

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 | `

lummish commented 6 years ago

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

ilyasahsan123 commented 6 years ago

The latest material ui with latest react

lentyai2 commented 6 years ago

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.