@mindly/ui-components 8.8.4 → 8.8.5

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.
@@ -6,13 +6,13 @@ type RedesignedSubscriptionСardProps = {
6
6
  subscription: Subscription;
7
7
  onMoveToPostponeFlow?: (subscriptionId: string, specialistId: string) => void;
8
8
  onOpenActionModal: (subscription: Subscription) => void;
9
- onUpdateSubscription: ({ sessionCount, usedBalance, therapistId, }: {
10
- sessionCount: number;
11
- usedBalance: number;
9
+ onUpdateSubscription: ({ therapistId, subscriptionId, }: {
12
10
  therapistId: string;
11
+ subscriptionId: string;
13
12
  }) => void;
14
13
  locale: SupportedLocales;
15
14
  t: WithTranslation['t'];
15
+ isUpdateButtonLoading: boolean;
16
16
  };
17
17
  declare const RedesignedSubscriptionСard: FC<RedesignedSubscriptionСardProps>;
18
18
  export default RedesignedSubscriptionСard;
@@ -5,6 +5,7 @@ type FooterProps = {
5
5
  isSubscriptionCanceled: boolean;
6
6
  isSubscriptionWasPostponed: boolean;
7
7
  isSubscriptionBalanceZero: boolean;
8
+ isUpdateButtonLoading: boolean;
8
9
  onMoveToPostponeFlow: () => void;
9
10
  onUpdateSubscription: () => void;
10
11
  onOpenActionModal: (state: boolean) => void;