@goldenpine/react-form-builder2 0.20.3-build.5 → 0.20.3-build.6
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.
- package/dist/app.js +1 -1
- package/lib/form-elements/index.js +5 -2
- package/package.json +1 -1
|
@@ -640,8 +640,11 @@ var Image = /*#__PURE__*/function (_React$Component13) {
|
|
|
640
640
|
className: baseClasses
|
|
641
641
|
}, /*#__PURE__*/_react["default"].createElement(_componentHeader["default"], this.props), this.props.data.src && /*#__PURE__*/_react["default"].createElement("img", {
|
|
642
642
|
src: this.props.data.src,
|
|
643
|
-
|
|
644
|
-
|
|
643
|
+
style: {
|
|
644
|
+
height: this.props.data.height,
|
|
645
|
+
width: this.props.data.width,
|
|
646
|
+
display: 'inline'
|
|
647
|
+
}
|
|
645
648
|
}), !this.props.data.src && /*#__PURE__*/_react["default"].createElement("div", {
|
|
646
649
|
className: "no-image"
|
|
647
650
|
}, "No Image"));
|