UNPKG

@material-native-ui/theme-provider

Version:
23 lines (17 loc) 561 B
# Changelog ## 0.0.4 - Support Web - add sample ## 0.0.3 - Can use `theme` in hook provide by `useTheme` - Can use `style` in hook provide by `useStyle` - no breaking change in migrate from react-native stylesheet ## 0.0.2 - Bug fix ## 0.0.1 - Can use `theme` in props provide by `withTheme` ## 0.0.0 - `context` prop on `ThemeProvider` deprecated in favor of `theme`. - `StyleSheet` now inherits all properties from StyleSheet. - Can create a `StyleSheet` directly with `StyleSheet.sheet` method. - `ThemeProvider` takes `id` and `context` props.