ThemeProvider
rpelorosso opened this issue · comments
rpelorosso commented
Hi! I'm reading http://airbnb.io/projects/react-with-styles/ which mentions a ThemeProvider component that allows to change the theme used.
I've noticed that I don't see it mentioned in the Github repository readme and that it doesn't seem to work with react-with-styles 2.3.1.
Was it deprecated? If so, how can I change the selected theme, and register a theme with a name?
Thank you!
Jordan Harband commented
Yes, it was removed in #93.
Currently, only one universal theme is supported.
rpelorosso commented
Thank you @ljharb ! That's a shame :(
Jordan Harband commented
Could you elaborate a bit on your use case?