@servicetitan/culture
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -6,9 +6,6 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var react_1 = __importDefault(require("react")); | ||
var react_ioc_1 = require("@servicetitan/react-ioc"); | ||
const react_1 = __importDefault(require("react")); | ||
const react_ioc_1 = require("@servicetitan/react-ioc"); | ||
exports.CULTURE_TOKEN = react_ioc_1.symbolToken('CULTURE_TOKEN'); | ||
exports.CultureProvider = function (_a) { | ||
var value = _a.value, children = _a.children; | ||
return (react_1.default.createElement(react_ioc_1.Provider, { singletons: [{ provide: exports.CULTURE_TOKEN, useValue: value }] }, children)); | ||
}; | ||
exports.CultureProvider = ({ value, children }) => (react_1.default.createElement(react_ioc_1.Provider, { singletons: [{ provide: exports.CULTURE_TOKEN, useValue: value }] }, children)); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@servicetitan/culture", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "", | ||
@@ -12,3 +12,3 @@ "main": "./dist/index.js", | ||
"devDependencies": { | ||
"@servicetitan/react-ioc": "^4.1.2", | ||
"@servicetitan/react-ioc": "^4.1.3", | ||
"@types/react": "~16.9.34", | ||
@@ -27,3 +27,3 @@ "react": "~16.13.1" | ||
}, | ||
"gitHead": "d3ff6b32c2574dee33a8efac28cf1c0c9a2d4a8a" | ||
"gitHead": "a86a8a1e5179728f84c9cf08142feba699287aef" | ||
} |
Sorry, the diff of this file is not supported yet
3864
63