@builder.io/mitosis 0.1.4 → 0.1.5

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.
@@ -212,7 +212,12 @@ var blockToReact = function (json, options, component, parentSlots) {
212
212
  }
213
213
  else {
214
214
  if ((0, is_valid_attribute_name_1.isValidAttributeName)(key)) {
215
- str += " ".concat(key, "={").concat(useBindingValue, "} ");
215
+ if (useBindingValue === 'true') {
216
+ str += " ".concat(key, " ");
217
+ }
218
+ else {
219
+ str += " ".concat(key, "={").concat(useBindingValue, "} ");
220
+ }
216
221
  }
217
222
  }
218
223
  }
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "name": "Builder.io",
23
23
  "url": "https://www.builder.io"
24
24
  },
25
- "version": "0.1.4",
25
+ "version": "0.1.5",
26
26
  "homepage": "https://github.com/BuilderIO/mitosis",
27
27
  "main": "./dist/src/index.js",
28
28
  "exports": {