unifyedx-storybook-new 0.1.32 → 0.1.33
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.
|
@@ -39746,8 +39746,10 @@ const Modal = ({
|
|
|
39746
39746
|
// For the description/body content
|
|
39747
39747
|
primaryButtonText = "Confirm",
|
|
39748
39748
|
secondaryButtonText = "Cancel",
|
|
39749
|
-
variant = "info"
|
|
39749
|
+
variant = "info",
|
|
39750
39750
|
// 'info', 'warning', 'delete'
|
|
39751
|
+
loading = false,
|
|
39752
|
+
buttonProps = {}
|
|
39751
39753
|
}) => {
|
|
39752
39754
|
const config = variantConfig[variant] || variantConfig.info;
|
|
39753
39755
|
const Icon = config.icon;
|
|
@@ -39802,7 +39804,8 @@ const Modal = ({
|
|
|
39802
39804
|
UnifyedCoreButton,
|
|
39803
39805
|
{
|
|
39804
39806
|
onClick: handlePrimaryClick,
|
|
39805
|
-
label: primaryButtonText
|
|
39807
|
+
label: primaryButtonText,
|
|
39808
|
+
...buttonProps
|
|
39806
39809
|
}
|
|
39807
39810
|
)
|
|
39808
39811
|
] })
|