Open taschetto opened 5 years ago
hey @taschetto I am trying to understand the issue with using another MUI Provider? as it stands now that is how you can style this library
Any answer on this one? I need to override styles without using MuiThemeProvider
and createMuiTheme
Hi, guys.
I'm trying to create a MUIDataTable wrapper that works with both light and dark palettes. I'm trying to avoid using a
MuiThemeProvider
since myApp.js
already contains it.So I'm trying to insert style overrides inside my custom component without success. I'm affraid I don't know how to do it without using
MuiThemeProvider
andcreateMuiTheme
again inside my wrapper. Here's what I got:I with I could set styles overrides inside this component. Also, eventually I'll need to specify custom styles per "instance" of
CustomDataTable
(like custom column widths).Thank you for you help.
Expected Behavior
The style overrides are applied to the component.
Current Behavior
The style overrides are not applied to the component.
Your Environment