mui-drawer 1.0.16 → 1.0.17

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.
@@ -3418,6 +3418,7 @@ const MuiDrawer = (props) => {
3418
3418
  primaryCtaClassName,
3419
3419
  secondaryCtaTitle,
3420
3420
  secondaryCtaClassName,
3421
+ secondaryCtaStartIcon,
3421
3422
  isPrimaryCtaLoading = false,
3422
3423
  isPrimaryCtaDisabled,
3423
3424
  isSecondaryCtaLoading = false,
@@ -3564,6 +3565,7 @@ const MuiDrawer = (props) => {
3564
3565
  className: classNames("vi-drawer-cta", secondaryCtaClassName),
3565
3566
  variant: "outlined",
3566
3567
  onClick: onSecondaryCtaClick,
3568
+ startIcon: secondaryCtaStartIcon,
3567
3569
  loading: isSecondaryCtaLoading,
3568
3570
  disabled: isSecondaryCtaDisabled !== void 0 ? isSecondaryCtaDisabled : !!(isPrimaryCtaLoading || isTertiaryCtaLoading),
3569
3571
  children: secondaryCtaTitle
@@ -5,6 +5,7 @@ export interface IActions {
5
5
  primaryCtaClassName?: string;
6
6
  secondaryCtaTitle?: string;
7
7
  secondaryCtaClassName?: string;
8
+ secondaryCtaStartIcon?: React.ReactElement;
8
9
  tertiaryCtaTitle?: string;
9
10
  tertiaryCtaClassName?: string;
10
11
  showPrimaryCtaTooltipMsg?: boolean;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://github.com/viplatform/mui-drawer/issues"
8
8
  },
9
9
  "homepage": "https://github.com/viplatform/mui-drawer#readme",
10
- "version": "1.0.16",
10
+ "version": "1.0.17",
11
11
  "files": [
12
12
  "dist"
13
13
  ],