-
install zeppelin-element-library into your project
-
Copy the following files into your your project;
/src/theme.js
- Add the MUI Theme Provider to index.js
index.js
...
import { ThemeProvider } from "@material-ui/core/styles";
import theme from "./theme";
ReactDOM.render(
<React.StrictMode>
<ThemeProvider theme={theme}>
<App />
</ThemeProvider>
</React.StrictMode>,
document.getElementById("root")
);
...
Until the final release of MUIv5, there are order clashes with css if you CSS-in-JS. Please reach out to alyssa.butler@zeppelin.com for a current workaround.