Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: drop wrapper provider for components wrapped in withTheme (#44
) BREAKING CHANGE: 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 behaviour can still be achieved by explicitly using a `ThemeProvider` instead of a `theme` prop.
- Loading branch information