Releases: callstack/react-theme-provider
Releases · callstack/react-theme-provider
v3.0.9
Patch changes
- Added missing type for
children
inThemeProvider
– @lukewalczak in #155
v3.0.8
v3.0.6
v3.0.0
Drop wrapper provider for components wrapped in withTheme
Previously if the theme differed from the one in context, we wrapped the component in a provider as well. However, most components don't need it and it can be confusing when trying to override the theme for only specific component.
This commit drops this extra wrapper. The old behavior can still be achieved by explicitly using a ThemeProvider instead of a theme prop.
This is a BREAKING CHANGE