auto-views
Advanced tools
Comparing version 0.0.28 to 0.0.29
@@ -26,1 +26,2 @@ /// <reference types="react" /> | ||
} | ||
export declare function renderInnerComp(value: any, renderer: Skin): any; |
@@ -47,3 +47,4 @@ "use strict"; | ||
var comps = childProps.value.map(function (value, index) { | ||
return React.createElement("li", { "data-automation-id": parentAutomationId + '_' + index }, _this.renderAnyTypeForEdit({ value: value }, "string")); | ||
var innerComp = renderInnerComp(value, _this); | ||
return React.createElement("li", { "data-automation-id": parentAutomationId + '_' + index }, innerComp); | ||
}); | ||
@@ -60,2 +61,7 @@ return React.createElement("ol", __assign({}, childProps), comps); | ||
exports.EditSkin = EditSkin; | ||
function renderInnerComp(value, renderer) { | ||
var typeString = ("" + typeof value); | ||
return renderer[typeString]({ value: value }); | ||
} | ||
exports.renderInnerComp = renderInnerComp; | ||
//# sourceMappingURL=skin.js.map |
{ | ||
"name": "auto-views", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"description": "Common, fully-tested, strictly-typed, Wix-styled, auto views library", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
62400
850