Use ThemeProvider with Storybook

Hello all.
Is there a way of adding a ThemeProvider to Storybook. CSS libraries like MUI have a top-level theme component that provides theme to all its children. To get it to work in Storybook I can wrap the provider around all components, but this makes the code less maintainable. The common approach is to add a global decorator in the storybook index.js file, but that’s not accessible when using redwood. Is there a way around this?


Should have read the docs better :man_facepalming:t2:
The solution is in this section