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