Open Gustl22 opened 3 years ago
We can't pass it between panel and stories because it's not serializable. What if we provide ability to specify localisation additionally
Additionally you can have a look at https://github.com/react-theming/storybook-addon addon. It gives you more flexibility on creating providers
I understand. If you want you can provide an extra param for the locale. But using the other provided lib worked just fine, thank you! Can be closed, or kept open for possible implementation :)
If using localization, themes must be combined with Locale: https://material-ui.com/guides/localization/
Can you provide a method, which takes a
Theme
Object (e.g. created bycreateMuiTheme
) instead of the raw Palette. Thx :)