@agility/plenum-ui 1.3.21 → 1.3.22
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/lib/index.esm.js +2 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +2 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.esm.js
CHANGED
|
@@ -7066,7 +7066,8 @@ var Button = function (_a, ref) {
|
|
|
7066
7066
|
} },
|
|
7067
7067
|
iconObj &&
|
|
7068
7068
|
(isLoading ? (React__default.createElement(Loader, { classes: "h-5 w-5 border-2" })) : (React__default.createElement(React__default.Fragment, null, iconObj))),
|
|
7069
|
-
icon
|
|
7069
|
+
icon && (isLoading ? (React__default.createElement(Loader, { classes: "h-5 w-5 border-2" })) : (React__default.createElement(DynamicIcons, { icon: icon, className: iconStyles, outline: false }))),
|
|
7070
|
+
!icon && !iconObj && (isLoading && React__default.createElement(Loader, { classes: "h-5 w-5 border-2" })),
|
|
7070
7071
|
label && React__default.createElement("span", null, label)));
|
|
7071
7072
|
};
|
|
7072
7073
|
var _Button = forwardRef(Button);
|