dhre-ui-kit 0.0.294 → 0.0.295
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/lib/index.d.ts +70 -71
- package/lib/index.js +67 -67
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +209 -209
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import React__default, { ReactElement, ReactNode, JSXElementConstructor } from 'react';
|
|
1
|
+
import React$1, { ReactElement, ReactNode, JSXElementConstructor } from 'react';
|
|
3
2
|
import { TextStyle, TextProps, StyleProp, ViewStyle, TextInputProps, ImageStyle, GestureResponderEvent } from 'react-native';
|
|
4
3
|
import { SvgProps } from 'react-native-svg';
|
|
5
4
|
import { PdfProps } from 'react-native-pdf';
|
|
@@ -19,7 +18,7 @@ interface CustomTextProps extends TextProps {
|
|
|
19
18
|
style?: StyleProp<TextStyle>;
|
|
20
19
|
textColor?: string;
|
|
21
20
|
}
|
|
22
|
-
declare const _default$k: (props: CustomTextProps) =>
|
|
21
|
+
declare const _default$k: (props: CustomTextProps) => React$1.JSX.Element;
|
|
23
22
|
|
|
24
23
|
interface BadgeProps {
|
|
25
24
|
text?: string;
|
|
@@ -29,7 +28,7 @@ interface BadgeProps {
|
|
|
29
28
|
iconStyle?: ViewStyle;
|
|
30
29
|
handleIconPress: () => void;
|
|
31
30
|
}
|
|
32
|
-
declare const _default$j: (props: BadgeProps) =>
|
|
31
|
+
declare const _default$j: (props: BadgeProps) => React$1.JSX.Element;
|
|
33
32
|
|
|
34
33
|
interface BottomDrawerProps {
|
|
35
34
|
isModalVisible: boolean;
|
|
@@ -56,7 +55,7 @@ interface BottomDrawerProps {
|
|
|
56
55
|
swipeDirection?: string;
|
|
57
56
|
}
|
|
58
57
|
|
|
59
|
-
declare const BottomDrawer:
|
|
58
|
+
declare const BottomDrawer: React$1.FC<BottomDrawerProps>;
|
|
60
59
|
|
|
61
60
|
interface CustomButtonProps {
|
|
62
61
|
title: string;
|
|
@@ -76,7 +75,7 @@ interface CustomButtonProps {
|
|
|
76
75
|
isLoading?: boolean;
|
|
77
76
|
}
|
|
78
77
|
|
|
79
|
-
declare const _default$i: (props: CustomButtonProps) =>
|
|
78
|
+
declare const _default$i: (props: CustomButtonProps) => React$1.JSX.Element;
|
|
80
79
|
|
|
81
80
|
interface CardsProps {
|
|
82
81
|
topLeftTitle?: string;
|
|
@@ -90,7 +89,7 @@ interface CardsProps {
|
|
|
90
89
|
onButtonPress?: () => void;
|
|
91
90
|
}
|
|
92
91
|
|
|
93
|
-
declare const Cards:
|
|
92
|
+
declare const Cards: React$1.FC<CardsProps>;
|
|
94
93
|
|
|
95
94
|
interface CheckBoxProps {
|
|
96
95
|
isChecked: boolean;
|
|
@@ -107,7 +106,7 @@ interface CheckBoxProps {
|
|
|
107
106
|
onPress?: () => void;
|
|
108
107
|
}
|
|
109
108
|
|
|
110
|
-
declare const Checkbox:
|
|
109
|
+
declare const Checkbox: React$1.FC<CheckBoxProps>;
|
|
111
110
|
|
|
112
111
|
interface CustomDropdownProps$1 {
|
|
113
112
|
label: string;
|
|
@@ -134,7 +133,7 @@ interface CustomDropdownProps$1 {
|
|
|
134
133
|
downArrowIcon: ReactElement;
|
|
135
134
|
}
|
|
136
135
|
|
|
137
|
-
declare const CustomDropdown$1:
|
|
136
|
+
declare const CustomDropdown$1: React$1.FC<CustomDropdownProps$1>;
|
|
138
137
|
|
|
139
138
|
interface CustomTextInputProps extends TextInputProps {
|
|
140
139
|
label: string;
|
|
@@ -154,7 +153,7 @@ interface CustomTextInputProps extends TextInputProps {
|
|
|
154
153
|
searchIcon?: ReactElement;
|
|
155
154
|
}
|
|
156
155
|
|
|
157
|
-
declare const CustomTextInput:
|
|
156
|
+
declare const CustomTextInput: React$1.FC<CustomTextInputProps>;
|
|
158
157
|
|
|
159
158
|
interface CustomTooltipProps {
|
|
160
159
|
isVisible: boolean;
|
|
@@ -171,7 +170,7 @@ interface CustomTooltipProps {
|
|
|
171
170
|
triggerElement: React.ReactNode;
|
|
172
171
|
}
|
|
173
172
|
|
|
174
|
-
declare const CustomTooltip:
|
|
173
|
+
declare const CustomTooltip: React$1.FC<CustomTooltipProps>;
|
|
175
174
|
|
|
176
175
|
interface FileUploadProps {
|
|
177
176
|
onUpload: () => void;
|
|
@@ -179,12 +178,12 @@ interface FileUploadProps {
|
|
|
179
178
|
containerStyle?: ViewStyle;
|
|
180
179
|
btnText: string;
|
|
181
180
|
uploadImageStyling: ImageStyle;
|
|
182
|
-
icon?:
|
|
181
|
+
icon?: React$1.ReactElement;
|
|
183
182
|
iconStyle?: ViewStyle;
|
|
184
183
|
}
|
|
185
|
-
declare const FileUpload:
|
|
184
|
+
declare const FileUpload: React$1.FC<FileUploadProps>;
|
|
186
185
|
|
|
187
|
-
declare const PdfView:
|
|
186
|
+
declare const PdfView: React$1.FC<PdfProps>;
|
|
188
187
|
|
|
189
188
|
interface PopUpProps {
|
|
190
189
|
subtitle?: string;
|
|
@@ -196,7 +195,7 @@ interface PopUpProps {
|
|
|
196
195
|
onButtonPress?: () => void;
|
|
197
196
|
}
|
|
198
197
|
|
|
199
|
-
declare const PopUp:
|
|
198
|
+
declare const PopUp: React$1.FC<PopUpProps>;
|
|
200
199
|
|
|
201
200
|
declare enum ShapeType {
|
|
202
201
|
LINE = "line",
|
|
@@ -305,26 +304,26 @@ interface CustomProgressBarProps {
|
|
|
305
304
|
circleSize?: number;
|
|
306
305
|
thickness?: number;
|
|
307
306
|
progress: number;
|
|
308
|
-
setProgress:
|
|
307
|
+
setProgress: React$1.Dispatch<React$1.SetStateAction<number>>;
|
|
309
308
|
increment?: number;
|
|
310
309
|
interval?: number;
|
|
311
310
|
percentageText?: string;
|
|
312
311
|
valueTextStyle?: TextStyle;
|
|
313
312
|
percentageTextStyle?: TextStyle;
|
|
314
313
|
}
|
|
315
|
-
declare const CustomProgressBar:
|
|
314
|
+
declare const CustomProgressBar: React$1.FC<CustomProgressBarProps>;
|
|
316
315
|
|
|
317
316
|
interface StarProps {
|
|
318
317
|
rating: number;
|
|
319
318
|
count: number;
|
|
320
319
|
size: number;
|
|
321
|
-
fullStarIcon:
|
|
322
|
-
halfStarIcon:
|
|
320
|
+
fullStarIcon: React$1.ReactElement;
|
|
321
|
+
halfStarIcon: React$1.ReactElement;
|
|
323
322
|
fullStarColor?: string;
|
|
324
323
|
emptyStarColor?: string;
|
|
325
324
|
starStyle?: ViewStyle;
|
|
326
325
|
}
|
|
327
|
-
declare const Star:
|
|
326
|
+
declare const Star: React$1.FC<StarProps>;
|
|
328
327
|
|
|
329
328
|
interface Props {
|
|
330
329
|
options: string[];
|
|
@@ -332,7 +331,7 @@ interface Props {
|
|
|
332
331
|
onSelectionChange?: (selected: string[]) => void;
|
|
333
332
|
style?: ViewStyle;
|
|
334
333
|
}
|
|
335
|
-
declare const _default$h: (props: Props) =>
|
|
334
|
+
declare const _default$h: (props: Props) => React$1.JSX.Element;
|
|
336
335
|
|
|
337
336
|
interface TagsProps {
|
|
338
337
|
tags: string[];
|
|
@@ -344,7 +343,7 @@ interface TagsProps {
|
|
|
344
343
|
iconStyle?: ViewStyle;
|
|
345
344
|
}
|
|
346
345
|
|
|
347
|
-
declare const Tags:
|
|
346
|
+
declare const Tags: React$1.FC<TagsProps>;
|
|
348
347
|
|
|
349
348
|
interface CustomSwitchProps {
|
|
350
349
|
onValueChange: (value: boolean) => void;
|
|
@@ -353,7 +352,7 @@ interface CustomSwitchProps {
|
|
|
353
352
|
trackWidth?: number;
|
|
354
353
|
width?: number;
|
|
355
354
|
}
|
|
356
|
-
declare const CustomSwitch:
|
|
355
|
+
declare const CustomSwitch: React$1.FC<CustomSwitchProps>;
|
|
357
356
|
|
|
358
357
|
interface AccordionProps {
|
|
359
358
|
title: string;
|
|
@@ -361,21 +360,21 @@ interface AccordionProps {
|
|
|
361
360
|
containerStyle?: ViewStyle;
|
|
362
361
|
titleStyle?: TextStyle;
|
|
363
362
|
headerStyle?: ViewStyle;
|
|
364
|
-
children?:
|
|
363
|
+
children?: React$1.ReactNode;
|
|
365
364
|
isOpen: boolean;
|
|
366
365
|
onToggle: () => void;
|
|
367
|
-
optionalElement?: () =>
|
|
368
|
-
headerComponent?: () =>
|
|
366
|
+
optionalElement?: () => React$1.ReactNode;
|
|
367
|
+
headerComponent?: () => React$1.ReactNode;
|
|
369
368
|
disabled?: boolean;
|
|
370
|
-
icon?:
|
|
369
|
+
icon?: React$1.ReactElement;
|
|
371
370
|
titleVariant?: string;
|
|
372
371
|
}
|
|
373
372
|
|
|
374
|
-
declare const _default$g: (props: AccordionProps) =>
|
|
373
|
+
declare const _default$g: (props: AccordionProps) => React$1.JSX.Element;
|
|
375
374
|
|
|
376
375
|
interface ToastProps {
|
|
377
|
-
sucessIcon:
|
|
378
|
-
errorIcon:
|
|
376
|
+
sucessIcon: React$1.ReactElement;
|
|
377
|
+
errorIcon: React$1.ReactElement;
|
|
379
378
|
}
|
|
380
379
|
interface ToastRef {
|
|
381
380
|
showToast: (message: string, duration?: number, isSuccess?: boolean, buttonText?: string | null, buttonAction?: (() => void) | null, height?: number) => void;
|
|
@@ -388,7 +387,7 @@ interface ToastServiceInterface {
|
|
|
388
387
|
showToast: (message: string, duration?: number, isSuccess?: boolean, buttonText?: string | null, buttonAction?: (() => void) | null, height?: number) => void;
|
|
389
388
|
}
|
|
390
389
|
|
|
391
|
-
declare const Toast:
|
|
390
|
+
declare const Toast: React$1.ForwardRefExoticComponent<ToastProps & React$1.RefAttributes<ToastRef>>;
|
|
392
391
|
|
|
393
392
|
interface CustomSearchBarProps extends TextInputProps {
|
|
394
393
|
height?: number;
|
|
@@ -413,7 +412,7 @@ interface CustomSearchBarProps extends TextInputProps {
|
|
|
413
412
|
pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto' | undefined;
|
|
414
413
|
}
|
|
415
414
|
|
|
416
|
-
declare const CustomSearchBar: ({ value, height, disabled, testID, inputContainerStyle, searchIconStyle, crossIconStyle, inputStyle, onSearchIconPress, onCrossIconPress, handleOnChangeText, setValue, searchIcon, rightIcon, disableBorderColor, borderColor, disablePlaceHolderStyle, enablePlaceHolderStyle, handlePress, pointerEvents, ...props }: CustomSearchBarProps) =>
|
|
415
|
+
declare const CustomSearchBar: ({ value, height, disabled, testID, inputContainerStyle, searchIconStyle, crossIconStyle, inputStyle, onSearchIconPress, onCrossIconPress, handleOnChangeText, setValue, searchIcon, rightIcon, disableBorderColor, borderColor, disablePlaceHolderStyle, enablePlaceHolderStyle, handlePress, pointerEvents, ...props }: CustomSearchBarProps) => React$1.JSX.Element;
|
|
417
416
|
|
|
418
417
|
interface CustomHeaderProps {
|
|
419
418
|
title: string;
|
|
@@ -426,7 +425,7 @@ interface CustomHeaderProps {
|
|
|
426
425
|
onRightPress?: () => void;
|
|
427
426
|
}
|
|
428
427
|
|
|
429
|
-
declare const _default$f: (props: CustomHeaderProps) =>
|
|
428
|
+
declare const _default$f: (props: CustomHeaderProps) => React$1.JSX.Element;
|
|
430
429
|
|
|
431
430
|
interface ListItem {
|
|
432
431
|
id: string;
|
|
@@ -469,17 +468,17 @@ interface SwipableListProps {
|
|
|
469
468
|
titleStyle?: TextStyle;
|
|
470
469
|
}
|
|
471
470
|
|
|
472
|
-
declare const _default$e: (props: SwipableListProps) =>
|
|
471
|
+
declare const _default$e: (props: SwipableListProps) => React$1.JSX.Element;
|
|
473
472
|
|
|
474
473
|
interface TypoTextProps extends TextProps {
|
|
475
474
|
variant: keyof typeof FONT_STYLES;
|
|
476
475
|
text?: string;
|
|
477
476
|
testID?: string;
|
|
478
477
|
}
|
|
479
|
-
declare const CustomTypography:
|
|
478
|
+
declare const CustomTypography: React$1.FC<TypoTextProps>;
|
|
480
479
|
|
|
481
480
|
interface CustomIconProps {
|
|
482
|
-
icon:
|
|
481
|
+
icon: React$1.ReactElement;
|
|
483
482
|
title?: string;
|
|
484
483
|
titleVariant?: string;
|
|
485
484
|
testId?: string;
|
|
@@ -488,21 +487,21 @@ interface CustomIconProps {
|
|
|
488
487
|
titleStyle?: TextStyle;
|
|
489
488
|
}
|
|
490
489
|
|
|
491
|
-
declare const CustomIcon: ({ icon, title, titleVariant, testId, onPress, containerStyle, titleStyle, }: CustomIconProps) =>
|
|
490
|
+
declare const CustomIcon: ({ icon, title, titleVariant, testId, onPress, containerStyle, titleStyle, }: CustomIconProps) => React$1.JSX.Element;
|
|
492
491
|
|
|
493
492
|
interface CustomLoaderProps {
|
|
494
493
|
loading: boolean;
|
|
495
494
|
loadingText?: string;
|
|
496
495
|
}
|
|
497
496
|
|
|
498
|
-
declare const _default$d: (props: CustomLoaderProps) =>
|
|
497
|
+
declare const _default$d: (props: CustomLoaderProps) => React$1.JSX.Element;
|
|
499
498
|
|
|
500
499
|
declare function AnimationWithImperativeApi(): React$1.JSX.Element;
|
|
501
500
|
|
|
502
501
|
declare const _default$c: (props: {
|
|
503
502
|
backgroundColor?: string;
|
|
504
503
|
style?: ViewStyle;
|
|
505
|
-
}) =>
|
|
504
|
+
}) => React$1.JSX.Element;
|
|
506
505
|
|
|
507
506
|
interface OurOfficesButtonProps$1 {
|
|
508
507
|
rightIcon?: ReactElement<SvgProps>;
|
|
@@ -514,7 +513,7 @@ interface OurOfficesButtonProps$1 {
|
|
|
514
513
|
time?: string;
|
|
515
514
|
subTitleStyle?: TextStyle;
|
|
516
515
|
}
|
|
517
|
-
declare const _default$b: (props: OurOfficesButtonProps$1) =>
|
|
516
|
+
declare const _default$b: (props: OurOfficesButtonProps$1) => React$1.JSX.Element;
|
|
518
517
|
|
|
519
518
|
interface ContactModalProps {
|
|
520
519
|
phoneNumber: string;
|
|
@@ -524,14 +523,14 @@ interface ContactModalProps {
|
|
|
524
523
|
data: string;
|
|
525
524
|
emailSubject: string;
|
|
526
525
|
}
|
|
527
|
-
declare const _default$a: (props: ContactModalProps) =>
|
|
526
|
+
declare const _default$a: (props: ContactModalProps) => React$1.JSX.Element;
|
|
528
527
|
|
|
529
528
|
interface DateRangePickerProps extends CalendarProps {
|
|
530
529
|
onButtonPress: (startDate: string, endDate: string) => void;
|
|
531
530
|
btnTitle?: string;
|
|
532
531
|
}
|
|
533
532
|
|
|
534
|
-
declare const _default$9: (props: DateRangePickerProps) =>
|
|
533
|
+
declare const _default$9: (props: DateRangePickerProps) => React$1.JSX.Element;
|
|
535
534
|
|
|
536
535
|
interface OurOfficesButtonProps {
|
|
537
536
|
leftIcon?: ReactElement<SvgProps>;
|
|
@@ -545,14 +544,14 @@ interface OurOfficesButtonProps {
|
|
|
545
544
|
titleColor?: string;
|
|
546
545
|
descriptionColor?: string;
|
|
547
546
|
}
|
|
548
|
-
declare const _default$8: (props: OurOfficesButtonProps) =>
|
|
547
|
+
declare const _default$8: (props: OurOfficesButtonProps) => React$1.JSX.Element;
|
|
549
548
|
|
|
550
549
|
interface NotificationBandgeProps {
|
|
551
550
|
notificationCount?: number;
|
|
552
|
-
icon:
|
|
551
|
+
icon: React$1.ReactElement;
|
|
553
552
|
}
|
|
554
553
|
|
|
555
|
-
declare const NotificationBandge:
|
|
554
|
+
declare const NotificationBandge: React$1.FC<NotificationBandgeProps>;
|
|
556
555
|
|
|
557
556
|
interface ScrollableListProps {
|
|
558
557
|
data: {
|
|
@@ -572,7 +571,7 @@ interface ScrollableListProps {
|
|
|
572
571
|
errorStyle?: object;
|
|
573
572
|
activeTextStyle?: TextStyle;
|
|
574
573
|
}
|
|
575
|
-
declare const _default$7: (props: ScrollableListProps) =>
|
|
574
|
+
declare const _default$7: (props: ScrollableListProps) => React$1.JSX.Element;
|
|
576
575
|
|
|
577
576
|
declare const _default$6: (props: {
|
|
578
577
|
title: string;
|
|
@@ -583,7 +582,7 @@ declare const _default$6: (props: {
|
|
|
583
582
|
clearAllData?: () => void;
|
|
584
583
|
handleSendFeedback?: () => void;
|
|
585
584
|
setFeedback: (val: string) => void;
|
|
586
|
-
}) =>
|
|
585
|
+
}) => React$1.JSX.Element;
|
|
587
586
|
|
|
588
587
|
interface MobileNumberInputProps {
|
|
589
588
|
defaultCountryCode?: CountryCode;
|
|
@@ -600,7 +599,7 @@ interface MobileNumberInputProps {
|
|
|
600
599
|
errorMessage?: string;
|
|
601
600
|
label: string;
|
|
602
601
|
}
|
|
603
|
-
declare const CountryDropDown: ({ defaultCountryCode, defaultCallingCode, placeholder, onChangeText, value, containerStyle, inputStyle, countryPickerStyle, callingCodeStyle, getCountryCode, maxLength, errorMessage, label, }: MobileNumberInputProps) =>
|
|
602
|
+
declare const CountryDropDown: ({ defaultCountryCode, defaultCallingCode, placeholder, onChangeText, value, containerStyle, inputStyle, countryPickerStyle, callingCodeStyle, getCountryCode, maxLength, errorMessage, label, }: MobileNumberInputProps) => React$1.JSX.Element;
|
|
604
603
|
|
|
605
604
|
interface CommonTextInputProps extends TextInputProps$1 {
|
|
606
605
|
value?: string;
|
|
@@ -618,11 +617,11 @@ interface CommonTextInputProps extends TextInputProps$1 {
|
|
|
618
617
|
labelColor?: string;
|
|
619
618
|
pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto' | undefined;
|
|
620
619
|
handlePress?: () => void;
|
|
621
|
-
rightIcon?: () =>
|
|
620
|
+
rightIcon?: () => React$1.ReactElement;
|
|
622
621
|
onRightIconPress?: () => void;
|
|
623
622
|
onlyErrorBorderLabel?: boolean;
|
|
624
623
|
}
|
|
625
|
-
declare const CommonTextInput: (props: CommonTextInputProps) =>
|
|
624
|
+
declare const CommonTextInput: (props: CommonTextInputProps) => React$1.JSX.Element;
|
|
626
625
|
|
|
627
626
|
interface CustomDropdownProps {
|
|
628
627
|
data: {
|
|
@@ -652,7 +651,7 @@ interface CustomDropdownProps {
|
|
|
652
651
|
renderRightIcon?: (visible?: boolean) => JSX.Element | null;
|
|
653
652
|
disable?: boolean;
|
|
654
653
|
}
|
|
655
|
-
declare const CustomDropdown: (props: CustomDropdownProps) =>
|
|
654
|
+
declare const CustomDropdown: (props: CustomDropdownProps) => React$1.JSX.Element;
|
|
656
655
|
|
|
657
656
|
interface CustomSwitchBtnProps {
|
|
658
657
|
value: boolean;
|
|
@@ -668,7 +667,7 @@ interface CustomSwitchBtnProps {
|
|
|
668
667
|
circleStyle?: ViewStyle;
|
|
669
668
|
}
|
|
670
669
|
|
|
671
|
-
declare const CustomSwitchBtn: ({ value, onValueChange, disabled, activeText, activeTextVariant, inActiveText, inActiveTextVariant, containerStyle, activeTextStyle, inActiveTextStyle, circleStyle, }: CustomSwitchBtnProps) =>
|
|
670
|
+
declare const CustomSwitchBtn: ({ value, onValueChange, disabled, activeText, activeTextVariant, inActiveText, inActiveTextVariant, containerStyle, activeTextStyle, inActiveTextStyle, circleStyle, }: CustomSwitchBtnProps) => React$1.JSX.Element;
|
|
672
671
|
|
|
673
672
|
declare class ToastService implements ToastServiceInterface {
|
|
674
673
|
private toastRef;
|
|
@@ -689,7 +688,7 @@ interface TagsComponentProps {
|
|
|
689
688
|
selectedTagButton?: ViewStyle;
|
|
690
689
|
unselectedTagButton?: ViewStyle;
|
|
691
690
|
}
|
|
692
|
-
declare const _default$5: (props: TagsComponentProps) =>
|
|
691
|
+
declare const _default$5: (props: TagsComponentProps) => React$1.JSX.Element;
|
|
693
692
|
|
|
694
693
|
interface CustomDocumentPickerProps {
|
|
695
694
|
onDocumentUpload: (base64: string, document?: DocumentPickerResponse) => void;
|
|
@@ -700,12 +699,12 @@ interface CustomDocumentPickerProps {
|
|
|
700
699
|
containerStyle?: ViewStyle;
|
|
701
700
|
titleStyle?: TextStyle;
|
|
702
701
|
hintStyle?: TextStyle;
|
|
703
|
-
fileIcon:
|
|
704
|
-
uploadIcon:
|
|
705
|
-
deleteIcon:
|
|
702
|
+
fileIcon: React$1.ReactElement;
|
|
703
|
+
uploadIcon: React$1.ReactElement;
|
|
704
|
+
deleteIcon: React$1.ReactElement;
|
|
706
705
|
}
|
|
707
706
|
|
|
708
|
-
declare const _default$4: (props: CustomDocumentPickerProps) =>
|
|
707
|
+
declare const _default$4: (props: CustomDocumentPickerProps) => React$1.JSX.Element;
|
|
709
708
|
|
|
710
709
|
interface IProps$1 {
|
|
711
710
|
length?: number;
|
|
@@ -731,7 +730,7 @@ type OTPInputHandle = {
|
|
|
731
730
|
set?: (newOtp: string) => void;
|
|
732
731
|
};
|
|
733
732
|
|
|
734
|
-
declare const OTPInput:
|
|
733
|
+
declare const OTPInput: React$1.ForwardRefExoticComponent<IProps$1 & React$1.RefAttributes<OTPInputHandle>>;
|
|
735
734
|
|
|
736
735
|
type StatusType = 'Active' | 'Inactive' | 'Completed' | 'Rejected' | 'Count';
|
|
737
736
|
interface IData {
|
|
@@ -744,16 +743,16 @@ interface IProps {
|
|
|
744
743
|
showStepCount?: boolean;
|
|
745
744
|
showStatus?: boolean;
|
|
746
745
|
data: IData[];
|
|
747
|
-
completedStatusIcon?:
|
|
746
|
+
completedStatusIcon?: React$1.ReactElement;
|
|
748
747
|
}
|
|
749
748
|
|
|
750
|
-
declare const _default$3: (props: IProps) =>
|
|
749
|
+
declare const _default$3: (props: IProps) => React$1.JSX.Element;
|
|
751
750
|
|
|
752
751
|
interface CustomSlideButtonProps {
|
|
753
752
|
label?: string;
|
|
754
753
|
onComplete?: () => void;
|
|
755
754
|
onReset?: () => void;
|
|
756
|
-
icon:
|
|
755
|
+
icon: React$1.ReactElement;
|
|
757
756
|
size?: number;
|
|
758
757
|
textStyle?: TextStyle;
|
|
759
758
|
containerStyle?: ViewStyle;
|
|
@@ -766,7 +765,7 @@ type SlideButtonHandle = {
|
|
|
766
765
|
reset?: () => void;
|
|
767
766
|
};
|
|
768
767
|
|
|
769
|
-
declare const _default$2: (props: CustomSlideButtonProps &
|
|
768
|
+
declare const _default$2: (props: CustomSlideButtonProps & React$1.RefAttributes<SlideButtonHandle>) => React$1.JSX.Element;
|
|
770
769
|
|
|
771
770
|
declare const width: number;
|
|
772
771
|
declare const height: number;
|
|
@@ -1094,16 +1093,16 @@ declare const DHRE_COLORS_TEXT: {
|
|
|
1094
1093
|
interface AppointmentCardProps {
|
|
1095
1094
|
isOpen: boolean;
|
|
1096
1095
|
onToggle: () => void;
|
|
1097
|
-
icon:
|
|
1098
|
-
headerIcon:
|
|
1096
|
+
icon: React$1.ReactElement;
|
|
1097
|
+
headerIcon: React$1.ReactElement;
|
|
1099
1098
|
title: string;
|
|
1100
1099
|
headerTitle: string;
|
|
1101
1100
|
headerSubtitle: string;
|
|
1102
1101
|
onViewDetailsPress: () => void;
|
|
1103
|
-
statusIcon:
|
|
1104
|
-
infoIcon:
|
|
1105
|
-
deleteIcon:
|
|
1106
|
-
editIcon:
|
|
1102
|
+
statusIcon: React$1.ReactElement;
|
|
1103
|
+
infoIcon: React$1.ReactElement;
|
|
1104
|
+
deleteIcon: React$1.ReactElement;
|
|
1105
|
+
editIcon: React$1.ReactElement;
|
|
1107
1106
|
onDeletePress: () => void;
|
|
1108
1107
|
onEditPress: () => void;
|
|
1109
1108
|
onDirectionPress: () => void;
|
|
@@ -1118,7 +1117,7 @@ interface AppointmentCardProps {
|
|
|
1118
1117
|
directionText: string;
|
|
1119
1118
|
}
|
|
1120
1119
|
|
|
1121
|
-
declare const _default$1: (props: AppointmentCardProps) =>
|
|
1120
|
+
declare const _default$1: (props: AppointmentCardProps) => React$1.JSX.Element;
|
|
1122
1121
|
|
|
1123
1122
|
interface PropertyDetailsProps {
|
|
1124
1123
|
icon: React.ReactElement;
|
|
@@ -1132,7 +1131,7 @@ interface PropertyDetailsProps {
|
|
|
1132
1131
|
onRightIconPress: () => void;
|
|
1133
1132
|
}
|
|
1134
1133
|
|
|
1135
|
-
declare const _default: (props: PropertyDetailsProps) =>
|
|
1134
|
+
declare const _default: (props: PropertyDetailsProps) => React$1.JSX.Element;
|
|
1136
1135
|
|
|
1137
1136
|
type RadioButtonItem = {
|
|
1138
1137
|
label: string;
|
|
@@ -1146,6 +1145,6 @@ interface RadioButtonGroupProps {
|
|
|
1146
1145
|
optionContainerStyle?: ViewStyle;
|
|
1147
1146
|
}
|
|
1148
1147
|
|
|
1149
|
-
declare const RadioButtonGroup:
|
|
1148
|
+
declare const RadioButtonGroup: React$1.FC<RadioButtonGroupProps>;
|
|
1150
1149
|
|
|
1151
1150
|
export { _default$g as Accordion, AnimationWithImperativeApi as AnimationLoitte, _default$1 as AppointmentCard, _default$j as Badge, BottomDrawer, _default$i as Button, Cards, _default$7 as Category, Checkbox as CheckBox, _default$a as ContactModel, CountryDropDown as CountryPicker, _default$4 as CustomDocumentPicker, CustomDropdown$1 as CustomDropdown, _default$f as CustomHeader, type CustomHeaderProps, CustomIcon, _default$d as CustomLoader, CustomProgressBar, CustomSearchBar, _default$2 as CustomSlideButton, CustomSwitchBtn, _default$k as CustomText, CustomTextInput, CustomTooltip, CustomTypography, DHRE_COLORS_ALERT, DHRE_COLORS_BG, DHRE_COLORS_PRIMARY, DHRE_COLORS_SECONDARY, DHRE_COLORS_TEXT, DHRE_DEFAULT, _default$9 as DateRangePicker, CustomDropdown as DropDown, FONT_STYLES, _default$6 as FeedbackForm, FileUpload, FontStyle, _default$c as Line, NotificationBandge, OTPInput, _default$8 as OurOfficesButton, PdfView, PopUp, _default as PropertyDetails, RadioButtonGroup, ShapeType, _default$5 as SingleSelectionTags, type SlideButtonHandle, Star as StarRating, _default$3 as Stepper, _default$e as SwipableList, _default$h as Tabs, Tags, TextDirectType, CommonTextInput as TextInput, Theme, Toast, type ToastRef, CustomSwitch as ToggleButton, ToggleButtonType, ToggleTextType, _default$b as Topic, copyToClipboard, theme as default, height, horizontalScale, moderateScale, toastService, verticalScale, width };
|