stylized-component
Advanced tools
Comparing version 0.0.6 to 0.0.7
export { Theme } from './Theme'; | ||
export { ThemedComponent, themeKey } from './ThemedComponent'; | ||
export { ThemedComponent, ThemeKey } from './ThemedComponent'; | ||
export { ThemeProvider, ThemeProps } from './ThemeProvider'; |
@@ -5,5 +5,5 @@ "use strict"; | ||
exports.ThemedComponent = ThemedComponent_1.ThemedComponent; | ||
exports.themeKey = ThemedComponent_1.themeKey; | ||
exports.ThemeKey = ThemedComponent_1.ThemeKey; | ||
var ThemeProvider_1 = require("./ThemeProvider"); | ||
exports.ThemeProvider = ThemeProvider_1.ThemeProvider; | ||
//# sourceMappingURL=index.js.map |
@@ -21,2 +21,2 @@ /// <reference types="react" /> | ||
} | ||
export declare const themeKey: (key: string) => (target: Function) => void; | ||
export declare const ThemeKey: (key: string) => (target: Function) => void; |
@@ -36,3 +36,3 @@ "use strict"; | ||
exports.ThemedComponent = ThemedComponent; | ||
exports.themeKey = function (key) { | ||
exports.ThemeKey = function (key) { | ||
return function (target) { | ||
@@ -39,0 +39,0 @@ Reflect.defineMetadata('themeKey', key, target); |
{ | ||
"name": "stylized-component", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A design prototype", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
export { Theme } from './Theme'; | ||
export { ThemedComponent, themeKey } from './ThemedComponent'; | ||
export { ThemedComponent, ThemeKey } from './ThemedComponent'; | ||
export { ThemeProvider, ThemeProps } from './ThemeProvider'; |
@@ -34,3 +34,3 @@ import * as _ from 'lodash'; | ||
export const themeKey = (key: string) => { | ||
export const ThemeKey = (key: string) => { | ||
return function (target: Function) { | ||
@@ -37,0 +37,0 @@ Reflect.defineMetadata('themeKey', key, target); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package