title: MUIRichTextEditor not working with ThemeProvider
body: <p>I've been trying to get mui-rte 2.0.0 to work with MuiV5. For some reason it doesn't render, and I just get few errors.</p>
  <p>Currently I'm importing createTheme and ThemeProvider from <code>'@mui/material/styles'</code></p>
  <p>Here are the errors I'm getting:</p>
  <pre><code>MUI: The `styles` argument provided is invalid.
  You are providing a function without a theme in the context.
  One of the parent elements needs to use a ThemeProvider.
  </code></pre>
  <p>and:</p>
  <pre><code>TypeError: theme.spacing is not a function
  </code></pre>
  <p>Im wrapping the component to a ThemeProvider, but it still seems that the theme is not recognized by the component. Or am I missing something else here? It seems to work alright in codesandbox with the same package versions that I'm using in my project.</p>