
A set of utilities that help you create your own React theming system in few easy steps
Repo callstack/react-theme-provider, read from GitHub 16 h ago. callstack has not joined Take My Repo.
children in ThemeProvider – @lukewalczak in #155Backwards compatible typings improvement for useTheme hook #143
withThemePreviously 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