@teleporthq/react-components
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -119,2 +119,5 @@ import dayjs from 'dayjs'; | ||
} | ||
if (itemData.__component && mappingConfiguration?.[itemData.__component]) { | ||
return /* @__PURE__ */ React.createElement(React.Fragment, null, mappingConfiguration[itemData.__component]?.(itemData.attributes ?? itemData) ?? null); | ||
} | ||
return /* @__PURE__ */ React.createElement(React.Fragment, null, renderDefault ? renderDefault(itemData) : "default case"); | ||
@@ -121,0 +124,0 @@ } catch (err) { |
{ | ||
"name": "@teleporthq/react-components", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-components.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
38068
1087