title: What is the type of theme in Material-UI version 5?
body: <p>I'm updating my project to <a href="https://mui.com/guides/migration-v4" rel="nofollow noreferrer">MUI version 5</a>. It is recommended to use emotion CSS. I want to use the <code>theme</code> property. Now typescript is asking for type for <code>theme</code>. The version below does not work. How can I provide a type?</p>
  <pre><code>import { Theme } from &quot;@mui/material&quot;
  
  const Root = styled('div')(({ theme: Theme }) =&gt; ({
    background: theme.palette.grey[50],
  }))
  </code></pre>