Naming Themes #74
Unanswered
nicolas-c-dev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys, I was wondering if there is current way of set a custom name for every theme passed in the decorator. If exists, I couldn't find any doc explaining it.
If doesn't exist, I propouse doing something like this:
addDecorator(withThemes(ThemeProvider, [{ name: 'My custom Theme', theme: MyTheme }]));
Thanks for reading this ;)
Regards!
Beta Was this translation helpful? Give feedback.
All reactions