Comparing version 3.2.0 to 3.2.1
@@ -6,2 +6,6 @@ # Changelog | ||
### v3.2.1 (2020-07-13) | ||
- Support passing a custom theme type to useTheme for TS types ([#93](https://github.com/cssinjs/theming/pull/93)) | ||
### v3.2.0 (2019-05-06) | ||
@@ -8,0 +12,0 @@ |
{ | ||
"name": "theming", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "Unified CSSinJS theming solution for React", | ||
@@ -5,0 +5,0 @@ "main": "dist/theming.cjs.js", |
@@ -18,3 +18,3 @@ import * as React from 'react'; | ||
type UseThemeFactory<Theme> = () => Theme; | ||
type UseThemeFactory<Theme> = <CustomTheme = Theme>() => CustomTheme; | ||
@@ -43,2 +43,2 @@ interface Theming<Theme> { | ||
Theming, | ||
} | ||
} |
181778
1946