@builder.io/mitosis 0.0.56-83 → 0.0.56-86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -175,7 +175,7 @@ var blockToSvelte = function (_a) {
175
175
  if ((_c = json.bindings._spread) === null || _c === void 0 ? void 0 : _c.code) {
176
176
  str += "{...".concat(stripStateAndProps(json.bindings._spread.code, options), "}");
177
177
  }
178
- var isComponent = (0, is_upper_case_1.isUpperCase)(tagName);
178
+ var isComponent = Boolean(tagName[0] && (0, is_upper_case_1.isUpperCase)(tagName[0]));
179
179
  if ((((_d = json.bindings.style) === null || _d === void 0 ? void 0 : _d.code) || json.properties.style) && !isComponent) {
180
180
  var useValue = stripStateAndProps(((_e = json.bindings.style) === null || _e === void 0 ? void 0 : _e.code) || json.properties.style, options);
181
181
  str += "use:mitosis_styling={".concat(useValue, "}");