@mindly/ui-components 6.2.1 → 6.2.3

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.
@@ -1,10 +1,11 @@
1
- import React, { FC } from 'react';
1
+ import { FC } from 'react';
2
2
  import { OnBoardingLoaderScreenType, OnboardingVariant } from '../../../shared';
3
3
  import { WithTranslation } from 'react-i18next';
4
4
  declare const OnBoardingLoaderScreenPreviewFeature: FC<OnBoardingLoaderScreenType & {
5
5
  t?: WithTranslation['t'];
6
6
  onProgressEnd?: () => void;
7
7
  variant?: OnboardingVariant;
8
- previewWrapperRef?: React.RefObject<HTMLDivElement>;
8
+ onChange?: (value: string[]) => void;
9
+ defaultValues?: string[];
9
10
  }>;
10
11
  export default OnBoardingLoaderScreenPreviewFeature;
@@ -22,5 +22,6 @@ declare const ListTemplateLoader: FC<{
22
22
  variant?: OnboardingVariant;
23
23
  onProgressEnd?: () => void;
24
24
  t?: WithTranslation['t'];
25
+ onSelectionChange?: (value: 'yes' | 'no', index: number) => void;
25
26
  }>;
26
27
  export default ListTemplateLoader;
@@ -10,5 +10,7 @@ declare const ListTemplateLoaderModal: FC<{
10
10
  variant?: OnboardingVariant;
11
11
  handleDismissModal: () => void;
12
12
  t?: WithTranslation['t'];
13
+ onSelectionChange?: (value: 'yes' | 'no', index: number) => void;
14
+ index: number;
13
15
  }>;
14
16
  export default ListTemplateLoaderModal;