@bluemarble/bm-components 0.0.25 → 0.0.26
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/esm/index.js
CHANGED
|
@@ -14978,8 +14978,8 @@ const FormikRadio = (_a) => {
|
|
|
14978
14978
|
};
|
|
14979
14979
|
|
|
14980
14980
|
const LargeButton = (_a) => {
|
|
14981
|
-
var { loading, children, CircularProgressProps } = _a, rest = __rest(_a, ["loading", "children", "CircularProgressProps"]);
|
|
14982
|
-
return (React__default.createElement(Button, Object.assign({ variant: "contained", fullWidth: true, sx: Object.assign({ color: "#fff", fontWeight: "bold" },
|
|
14981
|
+
var { loading, children, CircularProgressProps, sx } = _a, rest = __rest(_a, ["loading", "children", "CircularProgressProps", "sx"]);
|
|
14982
|
+
return (React__default.createElement(Button, Object.assign({ variant: "contained", fullWidth: true, sx: Object.assign({ color: "#fff", fontWeight: "bold" }, sx), disabled: rest.disabled || loading }, rest), loading ? (React__default.createElement(CircularProgress, Object.assign({ size: 25, color: "inherit" }, CircularProgressProps))) : (children)));
|
|
14983
14983
|
};
|
|
14984
14984
|
|
|
14985
14985
|
/* eslint no-undef: "off" */
|