I am using Nextjs with Material UI. I have 2 dialog boxes with different styles but I don't know how to override theme for both by using createTheme. First dialog box have width 200px and the second one have 500px. If I overrride dialog width to 500px it reflects to both dialog boxes and I don't want this. What's the best way to createThemes if we have 2 same components with different properties? Thanks!...
I have 2 dialog boxes with different styles in MUI but I don't know how to override theme for both by using createTheme.