@apexcura/ui-components 0.0.14-Beta35 → 0.0.14-Beta36
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/index.js +6 -6
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -390,12 +390,12 @@ var ButtonElement = (props) => {
|
|
|
390
390
|
onClick: () => props.onClick && props.onClick(),
|
|
391
391
|
className: `${props.className ? props.className : ""}`
|
|
392
392
|
},
|
|
393
|
-
svgContent ? (
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
393
|
+
svgContent ? /* @__PURE__ */ import_react11.default.createElement(
|
|
394
|
+
"span",
|
|
395
|
+
{
|
|
396
|
+
className: props.iconsClassName,
|
|
397
|
+
dangerouslySetInnerHTML: { __html: svgContent }
|
|
398
|
+
}
|
|
399
399
|
) : props.icon && /* @__PURE__ */ import_react11.default.createElement("img", { className: props.iconsClassName, src: props.icon }),
|
|
400
400
|
props.label
|
|
401
401
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -331,12 +331,12 @@ var ButtonElement = (props) => {
|
|
|
331
331
|
onClick: () => props.onClick && props.onClick(),
|
|
332
332
|
className: `${props.className ? props.className : ""}`
|
|
333
333
|
},
|
|
334
|
-
svgContent ? (
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
334
|
+
svgContent ? /* @__PURE__ */ React11.createElement(
|
|
335
|
+
"span",
|
|
336
|
+
{
|
|
337
|
+
className: props.iconsClassName,
|
|
338
|
+
dangerouslySetInnerHTML: { __html: svgContent }
|
|
339
|
+
}
|
|
340
340
|
) : props.icon && /* @__PURE__ */ React11.createElement("img", { className: props.iconsClassName, src: props.icon }),
|
|
341
341
|
props.label
|
|
342
342
|
);
|