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

muiTheme problem with "material-ui": "next"

Open CharlyPoppins opened this issue 6 years ago • 0 comments

Hi, i have a problem using <DataTables/>

Warning: Failed context type: The context 'muiTheme' is marked as required in 'DataTables', but its value is 'undefined'

I'm using "material-ui": "next" in package.json

<MuiThemeProvider theme={createMuiTheme(myTheme)}> is wrapping my main component

I don't figure out how to "set" muiTheme in the context, or any other way to make <DataTables/> work :)

CharlyPoppins avatar May 20 '18 13:05 CharlyPoppins