@thecb/components 10.2.4-beta.12 → 10.2.4-beta.13
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.cjs.js
CHANGED
|
@@ -12931,7 +12931,7 @@ var ButtonWithAction = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
|
|
|
12931
12931
|
disabledStyles: disabledStyles,
|
|
12932
12932
|
"aria-disabled": disabled,
|
|
12933
12933
|
as: "button",
|
|
12934
|
-
onClick: isLoading || disabled ?
|
|
12934
|
+
onClick: isLoading || disabled ? noop : action,
|
|
12935
12935
|
borderRadius: "2px",
|
|
12936
12936
|
theme: themeContext,
|
|
12937
12937
|
extraStyles: "margin: 0.5rem; ".concat(extraStyles),
|