dhre-ui-kit 0.0.294 → 0.0.296
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 +71 -71
- package/lib/index.js +75 -67
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +217 -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,34 +304,35 @@ 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[];
|
|
331
330
|
initialSelected?: string[];
|
|
332
331
|
onSelectionChange?: (selected: string[]) => void;
|
|
333
332
|
style?: ViewStyle;
|
|
333
|
+
rating?: number;
|
|
334
334
|
}
|
|
335
|
-
declare const _default$h: (props: Props) =>
|
|
335
|
+
declare const _default$h: (props: Props) => React$1.JSX.Element;
|
|
336
336
|
|
|
337
337
|
interface TagsProps {
|
|
338
338
|
tags: string[];
|
|
@@ -344,7 +344,7 @@ interface TagsProps {
|
|
|
344
344
|
iconStyle?: ViewStyle;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
|
-
declare const Tags:
|
|
347
|
+
declare const Tags: React$1.FC<TagsProps>;
|
|
348
348
|
|
|
349
349
|
interface CustomSwitchProps {
|
|
350
350
|
onValueChange: (value: boolean) => void;
|
|
@@ -353,7 +353,7 @@ interface CustomSwitchProps {
|
|
|
353
353
|
trackWidth?: number;
|
|
354
354
|
width?: number;
|
|
355
355
|
}
|
|
356
|
-
declare const CustomSwitch:
|
|
356
|
+
declare const CustomSwitch: React$1.FC<CustomSwitchProps>;
|
|
357
357
|
|
|
358
358
|
interface AccordionProps {
|
|
359
359
|
title: string;
|
|
@@ -361,21 +361,21 @@ interface AccordionProps {
|
|
|
361
361
|
containerStyle?: ViewStyle;
|
|
362
362
|
titleStyle?: TextStyle;
|
|
363
363
|
headerStyle?: ViewStyle;
|
|
364
|
-
children?:
|
|
364
|
+
children?: React$1.ReactNode;
|
|
365
365
|
isOpen: boolean;
|
|
366
366
|
onToggle: () => void;
|
|
367
|
-
optionalElement?: () =>
|
|
368
|
-
headerComponent?: () =>
|
|
367
|
+
optionalElement?: () => React$1.ReactNode;
|
|
368
|
+
headerComponent?: () => React$1.ReactNode;
|
|
369
369
|
disabled?: boolean;
|
|
370
|
-
icon?:
|
|
370
|
+
icon?: React$1.ReactElement;
|
|
371
371
|
titleVariant?: string;
|
|
372
372
|
}
|
|
373
373
|
|
|
374
|
-
declare const _default$g: (props: AccordionProps) =>
|
|
374
|
+
declare const _default$g: (props: AccordionProps) => React$1.JSX.Element;
|
|
375
375
|
|
|
376
376
|
interface ToastProps {
|
|
377
|
-
sucessIcon:
|
|
378
|
-
errorIcon:
|
|
377
|
+
sucessIcon: React$1.ReactElement;
|
|
378
|
+
errorIcon: React$1.ReactElement;
|
|
379
379
|
}
|
|
380
380
|
interface ToastRef {
|
|
381
381
|
showToast: (message: string, duration?: number, isSuccess?: boolean, buttonText?: string | null, buttonAction?: (() => void) | null, height?: number) => void;
|
|
@@ -388,7 +388,7 @@ interface ToastServiceInterface {
|
|
|
388
388
|
showToast: (message: string, duration?: number, isSuccess?: boolean, buttonText?: string | null, buttonAction?: (() => void) | null, height?: number) => void;
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
declare const Toast:
|
|
391
|
+
declare const Toast: React$1.ForwardRefExoticComponent<ToastProps & React$1.RefAttributes<ToastRef>>;
|
|
392
392
|
|
|
393
393
|
interface CustomSearchBarProps extends TextInputProps {
|
|
394
394
|
height?: number;
|
|
@@ -413,7 +413,7 @@ interface CustomSearchBarProps extends TextInputProps {
|
|
|
413
413
|
pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto' | undefined;
|
|
414
414
|
}
|
|
415
415
|
|
|
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) =>
|
|
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$1.JSX.Element;
|
|
417
417
|
|
|
418
418
|
interface CustomHeaderProps {
|
|
419
419
|
title: string;
|
|
@@ -426,7 +426,7 @@ interface CustomHeaderProps {
|
|
|
426
426
|
onRightPress?: () => void;
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
-
declare const _default$f: (props: CustomHeaderProps) =>
|
|
429
|
+
declare const _default$f: (props: CustomHeaderProps) => React$1.JSX.Element;
|
|
430
430
|
|
|
431
431
|
interface ListItem {
|
|
432
432
|
id: string;
|
|
@@ -469,17 +469,17 @@ interface SwipableListProps {
|
|
|
469
469
|
titleStyle?: TextStyle;
|
|
470
470
|
}
|
|
471
471
|
|
|
472
|
-
declare const _default$e: (props: SwipableListProps) =>
|
|
472
|
+
declare const _default$e: (props: SwipableListProps) => React$1.JSX.Element;
|
|
473
473
|
|
|
474
474
|
interface TypoTextProps extends TextProps {
|
|
475
475
|
variant: keyof typeof FONT_STYLES;
|
|
476
476
|
text?: string;
|
|
477
477
|
testID?: string;
|
|
478
478
|
}
|
|
479
|
-
declare const CustomTypography:
|
|
479
|
+
declare const CustomTypography: React$1.FC<TypoTextProps>;
|
|
480
480
|
|
|
481
481
|
interface CustomIconProps {
|
|
482
|
-
icon:
|
|
482
|
+
icon: React$1.ReactElement;
|
|
483
483
|
title?: string;
|
|
484
484
|
titleVariant?: string;
|
|
485
485
|
testId?: string;
|
|
@@ -488,21 +488,21 @@ interface CustomIconProps {
|
|
|
488
488
|
titleStyle?: TextStyle;
|
|
489
489
|
}
|
|
490
490
|
|
|
491
|
-
declare const CustomIcon: ({ icon, title, titleVariant, testId, onPress, containerStyle, titleStyle, }: CustomIconProps) =>
|
|
491
|
+
declare const CustomIcon: ({ icon, title, titleVariant, testId, onPress, containerStyle, titleStyle, }: CustomIconProps) => React$1.JSX.Element;
|
|
492
492
|
|
|
493
493
|
interface CustomLoaderProps {
|
|
494
494
|
loading: boolean;
|
|
495
495
|
loadingText?: string;
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
declare const _default$d: (props: CustomLoaderProps) =>
|
|
498
|
+
declare const _default$d: (props: CustomLoaderProps) => React$1.JSX.Element;
|
|
499
499
|
|
|
500
500
|
declare function AnimationWithImperativeApi(): React$1.JSX.Element;
|
|
501
501
|
|
|
502
502
|
declare const _default$c: (props: {
|
|
503
503
|
backgroundColor?: string;
|
|
504
504
|
style?: ViewStyle;
|
|
505
|
-
}) =>
|
|
505
|
+
}) => React$1.JSX.Element;
|
|
506
506
|
|
|
507
507
|
interface OurOfficesButtonProps$1 {
|
|
508
508
|
rightIcon?: ReactElement<SvgProps>;
|
|
@@ -514,7 +514,7 @@ interface OurOfficesButtonProps$1 {
|
|
|
514
514
|
time?: string;
|
|
515
515
|
subTitleStyle?: TextStyle;
|
|
516
516
|
}
|
|
517
|
-
declare const _default$b: (props: OurOfficesButtonProps$1) =>
|
|
517
|
+
declare const _default$b: (props: OurOfficesButtonProps$1) => React$1.JSX.Element;
|
|
518
518
|
|
|
519
519
|
interface ContactModalProps {
|
|
520
520
|
phoneNumber: string;
|
|
@@ -524,14 +524,14 @@ interface ContactModalProps {
|
|
|
524
524
|
data: string;
|
|
525
525
|
emailSubject: string;
|
|
526
526
|
}
|
|
527
|
-
declare const _default$a: (props: ContactModalProps) =>
|
|
527
|
+
declare const _default$a: (props: ContactModalProps) => React$1.JSX.Element;
|
|
528
528
|
|
|
529
529
|
interface DateRangePickerProps extends CalendarProps {
|
|
530
530
|
onButtonPress: (startDate: string, endDate: string) => void;
|
|
531
531
|
btnTitle?: string;
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
-
declare const _default$9: (props: DateRangePickerProps) =>
|
|
534
|
+
declare const _default$9: (props: DateRangePickerProps) => React$1.JSX.Element;
|
|
535
535
|
|
|
536
536
|
interface OurOfficesButtonProps {
|
|
537
537
|
leftIcon?: ReactElement<SvgProps>;
|
|
@@ -545,14 +545,14 @@ interface OurOfficesButtonProps {
|
|
|
545
545
|
titleColor?: string;
|
|
546
546
|
descriptionColor?: string;
|
|
547
547
|
}
|
|
548
|
-
declare const _default$8: (props: OurOfficesButtonProps) =>
|
|
548
|
+
declare const _default$8: (props: OurOfficesButtonProps) => React$1.JSX.Element;
|
|
549
549
|
|
|
550
550
|
interface NotificationBandgeProps {
|
|
551
551
|
notificationCount?: number;
|
|
552
|
-
icon:
|
|
552
|
+
icon: React$1.ReactElement;
|
|
553
553
|
}
|
|
554
554
|
|
|
555
|
-
declare const NotificationBandge:
|
|
555
|
+
declare const NotificationBandge: React$1.FC<NotificationBandgeProps>;
|
|
556
556
|
|
|
557
557
|
interface ScrollableListProps {
|
|
558
558
|
data: {
|
|
@@ -572,7 +572,7 @@ interface ScrollableListProps {
|
|
|
572
572
|
errorStyle?: object;
|
|
573
573
|
activeTextStyle?: TextStyle;
|
|
574
574
|
}
|
|
575
|
-
declare const _default$7: (props: ScrollableListProps) =>
|
|
575
|
+
declare const _default$7: (props: ScrollableListProps) => React$1.JSX.Element;
|
|
576
576
|
|
|
577
577
|
declare const _default$6: (props: {
|
|
578
578
|
title: string;
|
|
@@ -583,7 +583,7 @@ declare const _default$6: (props: {
|
|
|
583
583
|
clearAllData?: () => void;
|
|
584
584
|
handleSendFeedback?: () => void;
|
|
585
585
|
setFeedback: (val: string) => void;
|
|
586
|
-
}) =>
|
|
586
|
+
}) => React$1.JSX.Element;
|
|
587
587
|
|
|
588
588
|
interface MobileNumberInputProps {
|
|
589
589
|
defaultCountryCode?: CountryCode;
|
|
@@ -600,7 +600,7 @@ interface MobileNumberInputProps {
|
|
|
600
600
|
errorMessage?: string;
|
|
601
601
|
label: string;
|
|
602
602
|
}
|
|
603
|
-
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$1.JSX.Element;
|
|
604
604
|
|
|
605
605
|
interface CommonTextInputProps extends TextInputProps$1 {
|
|
606
606
|
value?: string;
|
|
@@ -618,11 +618,11 @@ interface CommonTextInputProps extends TextInputProps$1 {
|
|
|
618
618
|
labelColor?: string;
|
|
619
619
|
pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto' | undefined;
|
|
620
620
|
handlePress?: () => void;
|
|
621
|
-
rightIcon?: () =>
|
|
621
|
+
rightIcon?: () => React$1.ReactElement;
|
|
622
622
|
onRightIconPress?: () => void;
|
|
623
623
|
onlyErrorBorderLabel?: boolean;
|
|
624
624
|
}
|
|
625
|
-
declare const CommonTextInput: (props: CommonTextInputProps) =>
|
|
625
|
+
declare const CommonTextInput: (props: CommonTextInputProps) => React$1.JSX.Element;
|
|
626
626
|
|
|
627
627
|
interface CustomDropdownProps {
|
|
628
628
|
data: {
|
|
@@ -652,7 +652,7 @@ interface CustomDropdownProps {
|
|
|
652
652
|
renderRightIcon?: (visible?: boolean) => JSX.Element | null;
|
|
653
653
|
disable?: boolean;
|
|
654
654
|
}
|
|
655
|
-
declare const CustomDropdown: (props: CustomDropdownProps) =>
|
|
655
|
+
declare const CustomDropdown: (props: CustomDropdownProps) => React$1.JSX.Element;
|
|
656
656
|
|
|
657
657
|
interface CustomSwitchBtnProps {
|
|
658
658
|
value: boolean;
|
|
@@ -668,7 +668,7 @@ interface CustomSwitchBtnProps {
|
|
|
668
668
|
circleStyle?: ViewStyle;
|
|
669
669
|
}
|
|
670
670
|
|
|
671
|
-
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$1.JSX.Element;
|
|
672
672
|
|
|
673
673
|
declare class ToastService implements ToastServiceInterface {
|
|
674
674
|
private toastRef;
|
|
@@ -689,7 +689,7 @@ interface TagsComponentProps {
|
|
|
689
689
|
selectedTagButton?: ViewStyle;
|
|
690
690
|
unselectedTagButton?: ViewStyle;
|
|
691
691
|
}
|
|
692
|
-
declare const _default$5: (props: TagsComponentProps) =>
|
|
692
|
+
declare const _default$5: (props: TagsComponentProps) => React$1.JSX.Element;
|
|
693
693
|
|
|
694
694
|
interface CustomDocumentPickerProps {
|
|
695
695
|
onDocumentUpload: (base64: string, document?: DocumentPickerResponse) => void;
|
|
@@ -700,12 +700,12 @@ interface CustomDocumentPickerProps {
|
|
|
700
700
|
containerStyle?: ViewStyle;
|
|
701
701
|
titleStyle?: TextStyle;
|
|
702
702
|
hintStyle?: TextStyle;
|
|
703
|
-
fileIcon:
|
|
704
|
-
uploadIcon:
|
|
705
|
-
deleteIcon:
|
|
703
|
+
fileIcon: React$1.ReactElement;
|
|
704
|
+
uploadIcon: React$1.ReactElement;
|
|
705
|
+
deleteIcon: React$1.ReactElement;
|
|
706
706
|
}
|
|
707
707
|
|
|
708
|
-
declare const _default$4: (props: CustomDocumentPickerProps) =>
|
|
708
|
+
declare const _default$4: (props: CustomDocumentPickerProps) => React$1.JSX.Element;
|
|
709
709
|
|
|
710
710
|
interface IProps$1 {
|
|
711
711
|
length?: number;
|
|
@@ -731,7 +731,7 @@ type OTPInputHandle = {
|
|
|
731
731
|
set?: (newOtp: string) => void;
|
|
732
732
|
};
|
|
733
733
|
|
|
734
|
-
declare const OTPInput:
|
|
734
|
+
declare const OTPInput: React$1.ForwardRefExoticComponent<IProps$1 & React$1.RefAttributes<OTPInputHandle>>;
|
|
735
735
|
|
|
736
736
|
type StatusType = 'Active' | 'Inactive' | 'Completed' | 'Rejected' | 'Count';
|
|
737
737
|
interface IData {
|
|
@@ -744,16 +744,16 @@ interface IProps {
|
|
|
744
744
|
showStepCount?: boolean;
|
|
745
745
|
showStatus?: boolean;
|
|
746
746
|
data: IData[];
|
|
747
|
-
completedStatusIcon?:
|
|
747
|
+
completedStatusIcon?: React$1.ReactElement;
|
|
748
748
|
}
|
|
749
749
|
|
|
750
|
-
declare const _default$3: (props: IProps) =>
|
|
750
|
+
declare const _default$3: (props: IProps) => React$1.JSX.Element;
|
|
751
751
|
|
|
752
752
|
interface CustomSlideButtonProps {
|
|
753
753
|
label?: string;
|
|
754
754
|
onComplete?: () => void;
|
|
755
755
|
onReset?: () => void;
|
|
756
|
-
icon:
|
|
756
|
+
icon: React$1.ReactElement;
|
|
757
757
|
size?: number;
|
|
758
758
|
textStyle?: TextStyle;
|
|
759
759
|
containerStyle?: ViewStyle;
|
|
@@ -766,7 +766,7 @@ type SlideButtonHandle = {
|
|
|
766
766
|
reset?: () => void;
|
|
767
767
|
};
|
|
768
768
|
|
|
769
|
-
declare const _default$2: (props: CustomSlideButtonProps &
|
|
769
|
+
declare const _default$2: (props: CustomSlideButtonProps & React$1.RefAttributes<SlideButtonHandle>) => React$1.JSX.Element;
|
|
770
770
|
|
|
771
771
|
declare const width: number;
|
|
772
772
|
declare const height: number;
|
|
@@ -1094,16 +1094,16 @@ declare const DHRE_COLORS_TEXT: {
|
|
|
1094
1094
|
interface AppointmentCardProps {
|
|
1095
1095
|
isOpen: boolean;
|
|
1096
1096
|
onToggle: () => void;
|
|
1097
|
-
icon:
|
|
1098
|
-
headerIcon:
|
|
1097
|
+
icon: React$1.ReactElement;
|
|
1098
|
+
headerIcon: React$1.ReactElement;
|
|
1099
1099
|
title: string;
|
|
1100
1100
|
headerTitle: string;
|
|
1101
1101
|
headerSubtitle: string;
|
|
1102
1102
|
onViewDetailsPress: () => void;
|
|
1103
|
-
statusIcon:
|
|
1104
|
-
infoIcon:
|
|
1105
|
-
deleteIcon:
|
|
1106
|
-
editIcon:
|
|
1103
|
+
statusIcon: React$1.ReactElement;
|
|
1104
|
+
infoIcon: React$1.ReactElement;
|
|
1105
|
+
deleteIcon: React$1.ReactElement;
|
|
1106
|
+
editIcon: React$1.ReactElement;
|
|
1107
1107
|
onDeletePress: () => void;
|
|
1108
1108
|
onEditPress: () => void;
|
|
1109
1109
|
onDirectionPress: () => void;
|
|
@@ -1118,7 +1118,7 @@ interface AppointmentCardProps {
|
|
|
1118
1118
|
directionText: string;
|
|
1119
1119
|
}
|
|
1120
1120
|
|
|
1121
|
-
declare const _default$1: (props: AppointmentCardProps) =>
|
|
1121
|
+
declare const _default$1: (props: AppointmentCardProps) => React$1.JSX.Element;
|
|
1122
1122
|
|
|
1123
1123
|
interface PropertyDetailsProps {
|
|
1124
1124
|
icon: React.ReactElement;
|
|
@@ -1132,7 +1132,7 @@ interface PropertyDetailsProps {
|
|
|
1132
1132
|
onRightIconPress: () => void;
|
|
1133
1133
|
}
|
|
1134
1134
|
|
|
1135
|
-
declare const _default: (props: PropertyDetailsProps) =>
|
|
1135
|
+
declare const _default: (props: PropertyDetailsProps) => React$1.JSX.Element;
|
|
1136
1136
|
|
|
1137
1137
|
type RadioButtonItem = {
|
|
1138
1138
|
label: string;
|
|
@@ -1146,6 +1146,6 @@ interface RadioButtonGroupProps {
|
|
|
1146
1146
|
optionContainerStyle?: ViewStyle;
|
|
1147
1147
|
}
|
|
1148
1148
|
|
|
1149
|
-
declare const RadioButtonGroup:
|
|
1149
|
+
declare const RadioButtonGroup: React$1.FC<RadioButtonGroupProps>;
|
|
1150
1150
|
|
|
1151
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 };
|