dhre-ui-kit 2.0.15 → 2.0.17
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/assets/images/NakheelLoader.d.ts +198 -0
- package/lib/assets/images/NakheelLoaderDark.d.ts +56 -0
- package/lib/assets/images/defaultLoader.d.ts +224 -0
- package/lib/assets/images/loaderDark.d.ts +198 -0
- package/lib/assets/images/loaderLight.d.ts +198 -0
- package/lib/assets/index.d.ts +22 -0
- package/lib/components/ContactModel/ContactModel.d.ts +11 -0
- package/lib/components/ContactModel/index.d.ts +1 -0
- package/lib/components/OutOfOffice/OurOffices.d.ts +17 -0
- package/lib/components/OutOfOffice/index.d.ts +1 -0
- package/lib/components/accordion/Accordion.d.ts +4 -0
- package/lib/components/accordion/Accordion.interface.d.ts +18 -0
- package/lib/components/accordion/Accordion.styles.d.ts +23 -0
- package/lib/components/accordion/Accordion.test.d.ts +1 -0
- package/lib/components/accordion/index.d.ts +1 -0
- package/lib/components/appointment-card/appointment-card.interface.d.ts +27 -0
- package/lib/components/appointment-card/index.d.ts +4 -0
- package/lib/components/appointment-card/styles.d.ts +74 -0
- package/lib/components/badge/Badge.d.ts +13 -0
- package/lib/components/badge/Badge.styles.d.ts +16 -0
- package/lib/components/badge/Badge.test.d.ts +1 -0
- package/lib/components/badge/index.d.ts +1 -0
- package/lib/components/bottomDrawer/BottomDrawer.d.ts +4 -0
- package/lib/components/bottomDrawer/BottomDrawer.interface.d.ts +30 -0
- package/lib/components/bottomDrawer/BottomDrawer.styles.d.ts +53 -0
- package/lib/components/bottomDrawer/BottomDrawer.test.d.ts +1 -0
- package/lib/components/bottomDrawer/index.d.ts +1 -0
- package/lib/components/button/Button.d.ts +4 -0
- package/lib/components/button/Button.interface.d.ts +20 -0
- package/lib/components/button/Button.styles.d.ts +69 -0
- package/lib/components/button/Button.test.d.ts +1 -0
- package/lib/components/button/index.d.ts +1 -0
- package/lib/components/cards/Cards.d.ts +4 -0
- package/lib/components/cards/Cards.interface.d.ts +12 -0
- package/lib/components/cards/Cards.styles.d.ts +54 -0
- package/lib/components/cards/Cards.test.d.ts +1 -0
- package/lib/components/cards/index.d.ts +1 -0
- package/lib/components/checkBox/CheckBox.d.ts +4 -0
- package/lib/components/checkBox/CheckBox.interface.d.ts +16 -0
- package/lib/components/checkBox/CheckBox.styles.d.ts +30 -0
- package/lib/components/checkBox/CheckBox.test.d.ts +1 -0
- package/lib/components/checkBox/index.d.ts +1 -0
- package/lib/components/countryPicker/CountryPicker.d.ts +20 -0
- package/lib/components/countryPicker/index.d.ts +1 -0
- package/lib/components/customDocumentPicker/CustomDocumentPicker.d.ts +4 -0
- package/lib/components/customDocumentPicker/CustomDocumentPicker.interface.d.ts +16 -0
- package/lib/components/customDocumentPicker/CustomDocumentPicker.styles.d.ts +30 -0
- package/lib/components/customDocumentPicker/index.d.ts +1 -0
- package/lib/components/customDropdown/CustomDropdown.d.ts +4 -0
- package/lib/components/customDropdown/CustomDropdown.interface.d.ts +26 -0
- package/lib/components/customDropdown/CustomDropdown.styles.d.ts +37 -0
- package/lib/components/customDropdown/CustomDropdown.test.d.ts +1 -0
- package/lib/components/customDropdown/index.d.ts +1 -0
- package/lib/components/customHeader/CustomHeader.d.ts +4 -0
- package/lib/components/customHeader/CustomHeader.interface.d.ts +10 -0
- package/lib/components/customHeader/CustomHeader.styles.d.ts +21 -0
- package/lib/components/customHeader/CustomHeader.test.d.ts +1 -0
- package/lib/components/customHeader/index.d.ts +1 -0
- package/lib/components/customIcon/CustomIcon.d.ts +4 -0
- package/lib/components/customIcon/CustomIcon.interface.d.ts +11 -0
- package/lib/components/customIcon/CustomIcon.styles.d.ts +10 -0
- package/lib/components/customIcon/CustomIcon.test.d.ts +1 -0
- package/lib/components/customIcon/index.d.ts +1 -0
- package/lib/components/customInputText/CustomInputText.d.ts +4 -0
- package/lib/components/customInputText/CustomInputText.interface.d.ts +19 -0
- package/lib/components/customInputText/CustomInputText.styles.d.ts +168 -0
- package/lib/components/customInputText/CustomInputText.test.d.ts +1 -0
- package/lib/components/customInputText/index.d.ts +1 -0
- package/lib/components/customLoader/CustomLoader.d.ts +4 -0
- package/lib/components/customLoader/CustomLoader.inteface.d.ts +9 -0
- package/lib/components/customLoader/CustomLoader.styles.d.ts +40 -0
- package/lib/components/customLoader/index.d.ts +1 -0
- package/lib/components/customSearchBar/CustomSearchBar.d.ts +4 -0
- package/lib/components/customSearchBar/CustomSearchBar.interface.d.ts +24 -0
- package/lib/components/customSearchBar/CustomSearchBar.styles.d.ts +143 -0
- package/lib/components/customSearchBar/CustomSearchBar.test.d.ts +1 -0
- package/lib/components/customSearchBar/index.d.ts +1 -0
- package/lib/components/customSlideButton/custom-slide-button.interface.d.ts +18 -0
- package/lib/components/customSlideButton/index.d.ts +4 -0
- package/lib/components/customSlideButton/styles.d.ts +34 -0
- package/lib/components/customSwitchBtn/customSwitchBtn.d.ts +4 -0
- package/lib/components/customSwitchBtn/customSwitchBtn.interface.d.ts +14 -0
- package/lib/components/customSwitchBtn/customSwitchBtn.styles.d.ts +26 -0
- package/lib/components/customSwitchBtn/index.d.ts +1 -0
- package/lib/components/customText/CustomText.d.ts +11 -0
- package/lib/components/customText/index.d.ts +1 -0
- package/lib/components/customTooltip/CustomTooltip.d.ts +4 -0
- package/lib/components/customTooltip/CustomTooltip.interface.d.ts +16 -0
- package/lib/components/customTooltip/CustomTooltip.test.d.ts +1 -0
- package/lib/components/customTooltip/index.d.ts +1 -0
- package/lib/components/customTypography/CustomTypography.d.ts +10 -0
- package/lib/components/customTypography/CustomTypography.test.d.ts +1 -0
- package/lib/components/customTypography/index.d.ts +1 -0
- package/lib/components/dateRangePicker/DateRangePicker.d.ts +4 -0
- package/lib/components/dateRangePicker/DateRangePicker.interface.d.ts +12 -0
- package/lib/components/dateRangePicker/DateRangePicker.styles.d.ts +136 -0
- package/lib/components/dateRangePicker/index.d.ts +1 -0
- package/lib/components/dropDown/DropDown.d.ts +33 -0
- package/lib/components/dropDown/index.d.ts +1 -0
- package/lib/components/feedback/feedback.d.ts +14 -0
- package/lib/components/feedback/feedback.style.d.ts +49 -0
- package/lib/components/feedback/index.d.ts +1 -0
- package/lib/components/fileUpload/FileUpload.d.ts +13 -0
- package/lib/components/fileUpload/FileUpload.styles.d.ts +37 -0
- package/lib/components/fileUpload/FileUpload.test.d.ts +1 -0
- package/lib/components/fileUpload/index.d.ts +1 -0
- package/lib/components/horizontalLine/Line.d.ts +7 -0
- package/lib/components/horizontalLine/index.d.ts +1 -0
- package/lib/components/loitte/index.d.ts +1 -0
- package/lib/components/loitte/loitte.d.ts +6 -0
- package/lib/components/notificationBandge/NotificationBandge.d.ts +4 -0
- package/lib/components/notificationBandge/NotificationBandge.interface.d.ts +5 -0
- package/lib/components/notificationBandge/NotificationBandge.styles.d.ts +144 -0
- package/lib/components/notificationBandge/index.d.ts +1 -0
- package/lib/components/otp/index.d.ts +4 -0
- package/lib/components/otp/otp.interface.d.ts +27 -0
- package/lib/components/otp/styles.d.ts +40 -0
- package/lib/components/pdfView/PdfView.d.ts +4 -0
- package/lib/components/pdfView/PdfView.test.d.ts +1 -0
- package/lib/components/pdfView/index.d.ts +1 -0
- package/lib/components/popup/PopUp.d.ts +4 -0
- package/lib/components/popup/PopUp.interface.d.ts +9 -0
- package/lib/components/popup/PopUp.styles.d.ts +46 -0
- package/lib/components/popup/PopUp.test.d.ts +1 -0
- package/lib/components/popup/index.d.ts +1 -0
- package/lib/components/progressBar/ProgressBar.d.ts +24 -0
- package/lib/components/progressBar/ProgressBar.test.d.ts +1 -0
- package/lib/components/progressBar/index.d.ts +1 -0
- package/lib/components/property-details/index.d.ts +4 -0
- package/lib/components/property-details/property-details.interface.d.ts +15 -0
- package/lib/components/property-details/styles.d.ts +26 -0
- package/lib/components/property360View/Property360View.d.ts +5 -0
- package/lib/components/property360View/Property360View.test.d.ts +1 -0
- package/lib/components/property360View/index.d.ts +1 -0
- package/lib/components/radio-button-group/RadioButtonGroup.interface.d.ts +13 -0
- package/lib/components/radio-button-group/index.d.ts +4 -0
- package/lib/components/radio-button-group/styles.d.ts +24 -0
- package/lib/components/rating/index.d.ts +1 -0
- package/lib/components/rating/rating.d.ts +14 -0
- package/lib/components/rating/rating.styles.d.ts +10 -0
- package/lib/components/rating/rating.test.d.ts +1 -0
- package/lib/components/scrollList/category.d.ts +63 -0
- package/lib/components/scrollList/index.d.ts +1 -0
- package/lib/components/singleSelectionTag/TagSingleSelection.d.ts +49 -0
- package/lib/components/singleSelectionTag/index.d.ts +1 -0
- package/lib/components/stepper/index.d.ts +4 -0
- package/lib/components/stepper/stepper.interface.d.ts +23 -0
- package/lib/components/stepper/styles.d.ts +79 -0
- package/lib/components/swipableList/SwipableList.d.ts +4 -0
- package/lib/components/swipableList/SwipableList.interface.d.ts +49 -0
- package/lib/components/swipableList/SwipableList.styles.d.ts +19 -0
- package/lib/components/swipableList/SwipableList.test.d.ts +1 -0
- package/lib/components/swipableList/index.d.ts +1 -0
- package/lib/components/tabs/Tabs.d.ts +11 -0
- package/lib/components/tabs/Tabs.interface.d.ts +10 -0
- package/lib/components/tabs/Tabs.styles.d.ts +22 -0
- package/lib/components/tabs/index.d.ts +1 -0
- package/lib/components/tags/Tags.d.ts +4 -0
- package/lib/components/tags/Tags.interface.d.ts +11 -0
- package/lib/components/tags/Tags.styles.d.ts +31 -0
- package/lib/components/tags/Tags.test.d.ts +1 -0
- package/lib/components/tags/index.d.ts +1 -0
- package/lib/components/textInput/Textinput.d.ts +27 -0
- package/lib/components/textInput/index.d.ts +1 -0
- package/lib/components/toast/Toast.d.ts +4 -0
- package/lib/components/toast/Toast.interface.d.ts +17 -0
- package/lib/components/toast/Toast.styles.d.ts +55 -0
- package/lib/components/toast/Toast.test.d.ts +1 -0
- package/lib/components/toast/ToastService.d.ts +8 -0
- package/lib/components/toast/index.d.ts +1 -0
- package/lib/components/toggleButton/ToggleButton.d.ts +11 -0
- package/lib/components/toggleButton/ToggleButton.styles.d.ts +35 -0
- package/lib/components/toggleButton/ToggleButton.test.d.ts +1 -0
- package/lib/components/toggleButton/index.d.ts +1 -0
- package/lib/components/topic/Topic.d.ts +15 -0
- package/lib/components/topic/index.d.ts +1 -0
- package/lib/index.d.ts +56 -1220
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +3 -2
- package/lib/index.mjs.map +1 -1
- package/lib/theme/ThemeContext.d.ts +11 -0
- package/lib/theme/colors.d.ts +181 -0
- package/lib/theme/fonts.d.ts +12 -0
- package/lib/theme/themes.d.ts +163 -0
- package/lib/theme/withThemeProvider.d.ts +2 -0
- package/lib/utils/appEnum.d.ts +98 -0
- package/lib/utils/commonStyles.d.ts +15 -0
- package/lib/utils/constants.d.ts +19 -0
- package/lib/utils/deviceUtils.d.ts +7 -0
- package/lib/utils/regex.d.ts +1 -0
- package/lib/utils/stylehelper.d.ts +5 -0
- package/package.json +2 -2
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { GestureResponderEvent, TextInputProps, TextStyle, ViewStyle } from 'react-native';
|
|
2
|
+
export interface CustomSearchBarProps extends TextInputProps {
|
|
3
|
+
height?: number;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
testID?: string;
|
|
6
|
+
inputContainerStyle?: ViewStyle;
|
|
7
|
+
searchIconStyle?: TextStyle;
|
|
8
|
+
crossIconStyle?: TextStyle;
|
|
9
|
+
inputStyle?: TextStyle;
|
|
10
|
+
onSearchIconPress?: () => void;
|
|
11
|
+
onCrossIconPress?: () => void;
|
|
12
|
+
handleOnChangeText?: (text: string) => void;
|
|
13
|
+
searchIcon: React.ReactElement;
|
|
14
|
+
rightIcon: React.ReactElement;
|
|
15
|
+
disableBorderColor?: string;
|
|
16
|
+
disablePlaceHolderStyle?: string;
|
|
17
|
+
enablePlaceHolderStyle?: string;
|
|
18
|
+
borderColor?: string;
|
|
19
|
+
setValue: (val: string) => void;
|
|
20
|
+
value: string | undefined;
|
|
21
|
+
handlePress?: (event: GestureResponderEvent) => void;
|
|
22
|
+
pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto' | undefined;
|
|
23
|
+
autoFocus?: boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
inputContainer: {
|
|
3
|
+
flexDirection: "row";
|
|
4
|
+
justifyContent: "center";
|
|
5
|
+
alignItems: "center";
|
|
6
|
+
paddingHorizontal: number;
|
|
7
|
+
borderRadius: number;
|
|
8
|
+
borderWidth: number;
|
|
9
|
+
};
|
|
10
|
+
input: {
|
|
11
|
+
color: string;
|
|
12
|
+
textAlignVertical: "center";
|
|
13
|
+
paddingVertical: number;
|
|
14
|
+
paddingBottom: number;
|
|
15
|
+
fontFamily?: string | undefined;
|
|
16
|
+
fontSize?: number | undefined;
|
|
17
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
18
|
+
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
19
|
+
letterSpacing?: number | undefined;
|
|
20
|
+
lineHeight?: number | undefined;
|
|
21
|
+
textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
|
|
22
|
+
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
|
|
23
|
+
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed" | undefined;
|
|
24
|
+
textDecorationColor?: import("react-native").ColorValue | undefined;
|
|
25
|
+
textShadowColor?: import("react-native").ColorValue | undefined;
|
|
26
|
+
textShadowOffset?: {
|
|
27
|
+
width: number;
|
|
28
|
+
height: number;
|
|
29
|
+
} | undefined;
|
|
30
|
+
textShadowRadius?: number | undefined;
|
|
31
|
+
textTransform?: "none" | "capitalize" | "uppercase" | "lowercase" | undefined;
|
|
32
|
+
testID?: string | undefined;
|
|
33
|
+
fontVariant?: import("react-native").FontVariant[] | undefined;
|
|
34
|
+
writingDirection?: "auto" | "ltr" | "rtl" | undefined;
|
|
35
|
+
backfaceVisibility?: "visible" | "hidden" | undefined;
|
|
36
|
+
backgroundColor?: import("react-native").ColorValue | undefined;
|
|
37
|
+
borderBlockColor?: import("react-native").ColorValue | undefined;
|
|
38
|
+
borderBlockEndColor?: import("react-native").ColorValue | undefined;
|
|
39
|
+
borderBlockStartColor?: import("react-native").ColorValue | undefined;
|
|
40
|
+
borderBottomColor?: import("react-native").ColorValue | undefined;
|
|
41
|
+
borderBottomEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
42
|
+
borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
43
|
+
borderBottomRightRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
44
|
+
borderBottomStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
45
|
+
borderColor?: import("react-native").ColorValue | undefined;
|
|
46
|
+
borderCurve?: "circular" | "continuous" | undefined;
|
|
47
|
+
borderEndColor?: import("react-native").ColorValue | undefined;
|
|
48
|
+
borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
49
|
+
borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
50
|
+
borderLeftColor?: import("react-native").ColorValue | undefined;
|
|
51
|
+
borderRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
52
|
+
borderRightColor?: import("react-native").ColorValue | undefined;
|
|
53
|
+
borderStartColor?: import("react-native").ColorValue | undefined;
|
|
54
|
+
borderStartEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
55
|
+
borderStartStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
56
|
+
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
57
|
+
borderTopColor?: import("react-native").ColorValue | undefined;
|
|
58
|
+
borderTopEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
59
|
+
borderTopLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
60
|
+
borderTopRightRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
61
|
+
borderTopStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
62
|
+
opacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
63
|
+
elevation?: number | undefined;
|
|
64
|
+
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
|
65
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | undefined;
|
|
66
|
+
alignItems?: import("react-native").FlexAlignType | undefined;
|
|
67
|
+
alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
|
|
68
|
+
aspectRatio?: number | string | undefined;
|
|
69
|
+
borderBottomWidth?: number | undefined;
|
|
70
|
+
borderEndWidth?: number | undefined;
|
|
71
|
+
borderLeftWidth?: number | undefined;
|
|
72
|
+
borderRightWidth?: number | undefined;
|
|
73
|
+
borderStartWidth?: number | undefined;
|
|
74
|
+
borderTopWidth?: number | undefined;
|
|
75
|
+
borderWidth?: number | undefined;
|
|
76
|
+
bottom?: import("react-native").DimensionValue | undefined;
|
|
77
|
+
display?: "none" | "flex" | undefined;
|
|
78
|
+
end?: import("react-native").DimensionValue | undefined;
|
|
79
|
+
flex: number;
|
|
80
|
+
flexBasis?: import("react-native").DimensionValue | undefined;
|
|
81
|
+
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
82
|
+
rowGap?: number | undefined;
|
|
83
|
+
gap?: number | undefined;
|
|
84
|
+
columnGap?: number | undefined;
|
|
85
|
+
flexGrow?: number | undefined;
|
|
86
|
+
flexShrink?: number | undefined;
|
|
87
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
88
|
+
height?: import("react-native").DimensionValue | undefined;
|
|
89
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
90
|
+
left?: import("react-native").DimensionValue | undefined;
|
|
91
|
+
margin?: import("react-native").DimensionValue | undefined;
|
|
92
|
+
marginBottom?: import("react-native").DimensionValue | undefined;
|
|
93
|
+
marginEnd?: import("react-native").DimensionValue | undefined;
|
|
94
|
+
marginHorizontal?: import("react-native").DimensionValue | undefined;
|
|
95
|
+
marginLeft?: import("react-native").DimensionValue | undefined;
|
|
96
|
+
marginRight?: import("react-native").DimensionValue | undefined;
|
|
97
|
+
marginStart?: import("react-native").DimensionValue | undefined;
|
|
98
|
+
marginTop?: import("react-native").DimensionValue | undefined;
|
|
99
|
+
marginVertical?: import("react-native").DimensionValue | undefined;
|
|
100
|
+
maxHeight?: import("react-native").DimensionValue | undefined;
|
|
101
|
+
maxWidth?: import("react-native").DimensionValue | undefined;
|
|
102
|
+
minHeight?: import("react-native").DimensionValue | undefined;
|
|
103
|
+
minWidth?: import("react-native").DimensionValue | undefined;
|
|
104
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
105
|
+
padding?: import("react-native").DimensionValue | undefined;
|
|
106
|
+
paddingEnd?: import("react-native").DimensionValue | undefined;
|
|
107
|
+
paddingHorizontal?: import("react-native").DimensionValue | undefined;
|
|
108
|
+
paddingLeft?: import("react-native").DimensionValue | undefined;
|
|
109
|
+
paddingRight?: import("react-native").DimensionValue | undefined;
|
|
110
|
+
paddingStart?: import("react-native").DimensionValue | undefined;
|
|
111
|
+
paddingTop?: import("react-native").DimensionValue | undefined;
|
|
112
|
+
position?: "absolute" | "relative" | undefined;
|
|
113
|
+
right?: import("react-native").DimensionValue | undefined;
|
|
114
|
+
start?: import("react-native").DimensionValue | undefined;
|
|
115
|
+
top?: import("react-native").DimensionValue | undefined;
|
|
116
|
+
width?: import("react-native").DimensionValue | undefined;
|
|
117
|
+
zIndex?: number | undefined;
|
|
118
|
+
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
119
|
+
shadowColor?: import("react-native").ColorValue | undefined;
|
|
120
|
+
shadowOffset?: Readonly<{
|
|
121
|
+
width: number;
|
|
122
|
+
height: number;
|
|
123
|
+
}> | undefined;
|
|
124
|
+
shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
125
|
+
shadowRadius?: number | undefined;
|
|
126
|
+
transform?: (import("react-native").PerpectiveTransform | import("react-native").RotateTransform | import("react-native").RotateXTransform | import("react-native").RotateYTransform | import("react-native").RotateZTransform | import("react-native").ScaleTransform | import("react-native").ScaleXTransform | import("react-native").ScaleYTransform | import("react-native").TranslateXTransform | import("react-native").TranslateYTransform | import("react-native").SkewXTransform | import("react-native").SkewYTransform | import("react-native").MatrixTransform)[] | undefined;
|
|
127
|
+
transformMatrix?: Array<number> | undefined;
|
|
128
|
+
rotation?: import("react-native").AnimatableNumericValue | undefined;
|
|
129
|
+
scaleX?: import("react-native").AnimatableNumericValue | undefined;
|
|
130
|
+
scaleY?: import("react-native").AnimatableNumericValue | undefined;
|
|
131
|
+
translateX?: import("react-native").AnimatableNumericValue | undefined;
|
|
132
|
+
translateY?: import("react-native").AnimatableNumericValue | undefined;
|
|
133
|
+
verticalAlign?: "auto" | "top" | "bottom" | "middle" | undefined;
|
|
134
|
+
includeFontPadding?: boolean | undefined;
|
|
135
|
+
};
|
|
136
|
+
crossIconStyle: {
|
|
137
|
+
marginLeft: number;
|
|
138
|
+
};
|
|
139
|
+
searchIconStyle: {
|
|
140
|
+
marginRight: number;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
export default styles;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CustomSearchBar';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextStyle, ViewStyle } from 'react-native';
|
|
3
|
+
export interface CustomSlideButtonProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
onComplete?: () => void;
|
|
6
|
+
onReset?: () => void;
|
|
7
|
+
icon: React.ReactElement;
|
|
8
|
+
size?: number;
|
|
9
|
+
textStyle?: TextStyle;
|
|
10
|
+
containerStyle?: ViewStyle;
|
|
11
|
+
sliderStyle?: ViewStyle;
|
|
12
|
+
sliderBackgroundColor?: string;
|
|
13
|
+
sliderTextColor?: string;
|
|
14
|
+
resetTimer?: number;
|
|
15
|
+
}
|
|
16
|
+
export type SlideButtonHandle = {
|
|
17
|
+
reset?: () => void;
|
|
18
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
container: {
|
|
3
|
+
flex: number;
|
|
4
|
+
justifyContent: "center";
|
|
5
|
+
alignItems: "center";
|
|
6
|
+
};
|
|
7
|
+
sliderContainer: {
|
|
8
|
+
height: number;
|
|
9
|
+
overflow: "hidden";
|
|
10
|
+
justifyContent: "center";
|
|
11
|
+
};
|
|
12
|
+
slider: {
|
|
13
|
+
height: "100%";
|
|
14
|
+
width: "100%";
|
|
15
|
+
position: "absolute";
|
|
16
|
+
justifyContent: "center";
|
|
17
|
+
};
|
|
18
|
+
button: {
|
|
19
|
+
height: number;
|
|
20
|
+
justifyContent: "center";
|
|
21
|
+
alignItems: "center";
|
|
22
|
+
margin: number;
|
|
23
|
+
};
|
|
24
|
+
buttonTextContainer: {
|
|
25
|
+
position: "absolute";
|
|
26
|
+
left: number;
|
|
27
|
+
right: number;
|
|
28
|
+
bottom: number;
|
|
29
|
+
top: number;
|
|
30
|
+
alignItems: "center";
|
|
31
|
+
justifyContent: "center";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default styles;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CustomSwitchBtnProps } from './customSwitchBtn.interface';
|
|
3
|
+
declare const CustomSwitchBtn: ({ value, onValueChange, disabled, activeText, activeTextVariant, inActiveText, inActiveTextVariant, containerStyle, activeTextStyle, inActiveTextStyle, circleStyle, }: CustomSwitchBtnProps) => React.JSX.Element;
|
|
4
|
+
export default CustomSwitchBtn;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TextStyle, ViewStyle } from 'react-native';
|
|
2
|
+
export interface CustomSwitchBtnProps {
|
|
3
|
+
value: boolean;
|
|
4
|
+
onValueChange: (value: boolean) => void;
|
|
5
|
+
activeText: string;
|
|
6
|
+
activeTextVariant?: string;
|
|
7
|
+
inActiveText: string;
|
|
8
|
+
inActiveTextVariant?: string;
|
|
9
|
+
containerStyle?: ViewStyle;
|
|
10
|
+
activeTextStyle?: TextStyle;
|
|
11
|
+
inActiveTextStyle?: TextStyle;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
circleStyle?: ViewStyle;
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
mainContainer: {
|
|
3
|
+
flexDirection: "row";
|
|
4
|
+
justifyContent: "space-between";
|
|
5
|
+
alignItems: "center";
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
borderRadius: number;
|
|
9
|
+
padding: number;
|
|
10
|
+
};
|
|
11
|
+
circle: {
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
borderRadius: number;
|
|
15
|
+
};
|
|
16
|
+
activeText: {
|
|
17
|
+
position: "absolute";
|
|
18
|
+
left: number;
|
|
19
|
+
};
|
|
20
|
+
inActiveText: {
|
|
21
|
+
position: "absolute";
|
|
22
|
+
top: number;
|
|
23
|
+
right: number;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default styles;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './customSwitchBtn';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyleProp, TextProps, TextStyle } from 'react-native';
|
|
3
|
+
import { FONT_STYLES } from '../../theme/fonts';
|
|
4
|
+
export interface CustomTextProps extends TextProps {
|
|
5
|
+
text: string;
|
|
6
|
+
variant: keyof typeof FONT_STYLES | string;
|
|
7
|
+
style?: StyleProp<TextStyle>;
|
|
8
|
+
textColor?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: (props: CustomTextProps) => React.JSX.Element;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CustomText';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ReactElement, JSXElementConstructor } from 'react';
|
|
2
|
+
import { TooltipProps } from 'react-native-walkthrough-tooltip';
|
|
3
|
+
export interface CustomTooltipProps extends TooltipProps {
|
|
4
|
+
isVisible: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
content: ReactElement<string | JSXElementConstructor<string>>;
|
|
7
|
+
placement?: 'top' | 'bottom' | 'left' | 'right';
|
|
8
|
+
displayInsets?: {
|
|
9
|
+
top: number;
|
|
10
|
+
bottom: number;
|
|
11
|
+
left: number;
|
|
12
|
+
right: number;
|
|
13
|
+
};
|
|
14
|
+
backgroundColor?: string;
|
|
15
|
+
triggerElement: React.ReactNode;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CustomTooltip';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextProps } from 'react-native';
|
|
3
|
+
import { FONT_STYLES } from '../../theme/fonts';
|
|
4
|
+
interface TypoTextProps extends TextProps {
|
|
5
|
+
variant: keyof typeof FONT_STYLES;
|
|
6
|
+
text?: string;
|
|
7
|
+
testID?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const CustomTypography: React.FC<TypoTextProps>;
|
|
10
|
+
export default CustomTypography;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './CustomTypography';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CalendarProps } from 'react-native-calendars';
|
|
2
|
+
export interface DateRangePickerProps extends CalendarProps {
|
|
3
|
+
onButtonPress: (startDate: string, endDate: string) => void;
|
|
4
|
+
btnTitle?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface DayType {
|
|
7
|
+
dateString: string;
|
|
8
|
+
day: number;
|
|
9
|
+
month: number;
|
|
10
|
+
year: number;
|
|
11
|
+
timestamp: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
declare const styles: {
|
|
2
|
+
applyButton: {
|
|
3
|
+
marginTop: number;
|
|
4
|
+
paddingVertical: number;
|
|
5
|
+
justifyContent: "center";
|
|
6
|
+
alignItems: "center";
|
|
7
|
+
borderRadius: number;
|
|
8
|
+
};
|
|
9
|
+
applyButtonText: {
|
|
10
|
+
color?: import("react-native").ColorValue | undefined;
|
|
11
|
+
fontFamily?: string | undefined;
|
|
12
|
+
fontSize?: number | undefined;
|
|
13
|
+
fontStyle?: "normal" | "italic" | undefined;
|
|
14
|
+
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
15
|
+
letterSpacing?: number | undefined;
|
|
16
|
+
lineHeight?: number | undefined;
|
|
17
|
+
textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
|
|
18
|
+
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
|
|
19
|
+
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed" | undefined;
|
|
20
|
+
textDecorationColor?: import("react-native").ColorValue | undefined;
|
|
21
|
+
textShadowColor?: import("react-native").ColorValue | undefined;
|
|
22
|
+
textShadowOffset?: {
|
|
23
|
+
width: number;
|
|
24
|
+
height: number;
|
|
25
|
+
} | undefined;
|
|
26
|
+
textShadowRadius?: number | undefined;
|
|
27
|
+
textTransform?: "none" | "capitalize" | "uppercase" | "lowercase" | undefined;
|
|
28
|
+
testID?: string | undefined;
|
|
29
|
+
fontVariant?: import("react-native").FontVariant[] | undefined;
|
|
30
|
+
writingDirection?: "auto" | "ltr" | "rtl" | undefined;
|
|
31
|
+
backfaceVisibility?: "visible" | "hidden" | undefined;
|
|
32
|
+
backgroundColor?: import("react-native").ColorValue | undefined;
|
|
33
|
+
borderBlockColor?: import("react-native").ColorValue | undefined;
|
|
34
|
+
borderBlockEndColor?: import("react-native").ColorValue | undefined;
|
|
35
|
+
borderBlockStartColor?: import("react-native").ColorValue | undefined;
|
|
36
|
+
borderBottomColor?: import("react-native").ColorValue | undefined;
|
|
37
|
+
borderBottomEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
38
|
+
borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
39
|
+
borderBottomRightRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
40
|
+
borderBottomStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
41
|
+
borderColor?: import("react-native").ColorValue | undefined;
|
|
42
|
+
borderCurve?: "circular" | "continuous" | undefined;
|
|
43
|
+
borderEndColor?: import("react-native").ColorValue | undefined;
|
|
44
|
+
borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
45
|
+
borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
46
|
+
borderLeftColor?: import("react-native").ColorValue | undefined;
|
|
47
|
+
borderRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
48
|
+
borderRightColor?: import("react-native").ColorValue | undefined;
|
|
49
|
+
borderStartColor?: import("react-native").ColorValue | undefined;
|
|
50
|
+
borderStartEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
51
|
+
borderStartStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
52
|
+
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
53
|
+
borderTopColor?: import("react-native").ColorValue | undefined;
|
|
54
|
+
borderTopEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
55
|
+
borderTopLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
56
|
+
borderTopRightRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
57
|
+
borderTopStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
58
|
+
opacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
59
|
+
elevation?: number | undefined;
|
|
60
|
+
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
|
61
|
+
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | undefined;
|
|
62
|
+
alignItems?: import("react-native").FlexAlignType | undefined;
|
|
63
|
+
alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
|
|
64
|
+
aspectRatio?: number | string | undefined;
|
|
65
|
+
borderBottomWidth?: number | undefined;
|
|
66
|
+
borderEndWidth?: number | undefined;
|
|
67
|
+
borderLeftWidth?: number | undefined;
|
|
68
|
+
borderRightWidth?: number | undefined;
|
|
69
|
+
borderStartWidth?: number | undefined;
|
|
70
|
+
borderTopWidth?: number | undefined;
|
|
71
|
+
borderWidth?: number | undefined;
|
|
72
|
+
bottom?: import("react-native").DimensionValue | undefined;
|
|
73
|
+
display?: "none" | "flex" | undefined;
|
|
74
|
+
end?: import("react-native").DimensionValue | undefined;
|
|
75
|
+
flex?: number | undefined;
|
|
76
|
+
flexBasis?: import("react-native").DimensionValue | undefined;
|
|
77
|
+
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
78
|
+
rowGap?: number | undefined;
|
|
79
|
+
gap?: number | undefined;
|
|
80
|
+
columnGap?: number | undefined;
|
|
81
|
+
flexGrow?: number | undefined;
|
|
82
|
+
flexShrink?: number | undefined;
|
|
83
|
+
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
84
|
+
height?: import("react-native").DimensionValue | undefined;
|
|
85
|
+
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
86
|
+
left?: import("react-native").DimensionValue | undefined;
|
|
87
|
+
margin?: import("react-native").DimensionValue | undefined;
|
|
88
|
+
marginBottom?: import("react-native").DimensionValue | undefined;
|
|
89
|
+
marginEnd?: import("react-native").DimensionValue | undefined;
|
|
90
|
+
marginHorizontal?: import("react-native").DimensionValue | undefined;
|
|
91
|
+
marginLeft?: import("react-native").DimensionValue | undefined;
|
|
92
|
+
marginRight?: import("react-native").DimensionValue | undefined;
|
|
93
|
+
marginStart?: import("react-native").DimensionValue | undefined;
|
|
94
|
+
marginTop?: import("react-native").DimensionValue | undefined;
|
|
95
|
+
marginVertical?: import("react-native").DimensionValue | undefined;
|
|
96
|
+
maxHeight?: import("react-native").DimensionValue | undefined;
|
|
97
|
+
maxWidth?: import("react-native").DimensionValue | undefined;
|
|
98
|
+
minHeight?: import("react-native").DimensionValue | undefined;
|
|
99
|
+
minWidth?: import("react-native").DimensionValue | undefined;
|
|
100
|
+
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
101
|
+
padding?: import("react-native").DimensionValue | undefined;
|
|
102
|
+
paddingBottom?: import("react-native").DimensionValue | undefined;
|
|
103
|
+
paddingEnd?: import("react-native").DimensionValue | undefined;
|
|
104
|
+
paddingHorizontal?: import("react-native").DimensionValue | undefined;
|
|
105
|
+
paddingLeft?: import("react-native").DimensionValue | undefined;
|
|
106
|
+
paddingRight?: import("react-native").DimensionValue | undefined;
|
|
107
|
+
paddingStart?: import("react-native").DimensionValue | undefined;
|
|
108
|
+
paddingTop?: import("react-native").DimensionValue | undefined;
|
|
109
|
+
paddingVertical?: import("react-native").DimensionValue | undefined;
|
|
110
|
+
position?: "absolute" | "relative" | undefined;
|
|
111
|
+
right?: import("react-native").DimensionValue | undefined;
|
|
112
|
+
start?: import("react-native").DimensionValue | undefined;
|
|
113
|
+
top?: import("react-native").DimensionValue | undefined;
|
|
114
|
+
width?: import("react-native").DimensionValue | undefined;
|
|
115
|
+
zIndex?: number | undefined;
|
|
116
|
+
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
117
|
+
shadowColor?: import("react-native").ColorValue | undefined;
|
|
118
|
+
shadowOffset?: Readonly<{
|
|
119
|
+
width: number;
|
|
120
|
+
height: number;
|
|
121
|
+
}> | undefined;
|
|
122
|
+
shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
123
|
+
shadowRadius?: number | undefined;
|
|
124
|
+
transform?: (import("react-native").PerpectiveTransform | import("react-native").RotateTransform | import("react-native").RotateXTransform | import("react-native").RotateYTransform | import("react-native").RotateZTransform | import("react-native").ScaleTransform | import("react-native").ScaleXTransform | import("react-native").ScaleYTransform | import("react-native").TranslateXTransform | import("react-native").TranslateYTransform | import("react-native").SkewXTransform | import("react-native").SkewYTransform | import("react-native").MatrixTransform)[] | undefined;
|
|
125
|
+
transformMatrix?: Array<number> | undefined;
|
|
126
|
+
rotation?: import("react-native").AnimatableNumericValue | undefined;
|
|
127
|
+
scaleX?: import("react-native").AnimatableNumericValue | undefined;
|
|
128
|
+
scaleY?: import("react-native").AnimatableNumericValue | undefined;
|
|
129
|
+
translateX?: import("react-native").AnimatableNumericValue | undefined;
|
|
130
|
+
translateY?: import("react-native").AnimatableNumericValue | undefined;
|
|
131
|
+
textAlignVertical?: "auto" | "top" | "bottom" | "center" | undefined;
|
|
132
|
+
verticalAlign?: "auto" | "top" | "bottom" | "middle" | undefined;
|
|
133
|
+
includeFontPadding?: boolean | undefined;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
export default styles;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DateRangePicker';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ViewStyle, TextStyle, ImageStyle } from 'react-native';
|
|
3
|
+
interface CustomDropdownProps {
|
|
4
|
+
data: {
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
}[];
|
|
7
|
+
labelField?: string;
|
|
8
|
+
valueField?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
containerStyle?: ViewStyle;
|
|
12
|
+
dropdownStyle?: ViewStyle;
|
|
13
|
+
dropdownFocusStyle?: ViewStyle;
|
|
14
|
+
placeholderStyle?: TextStyle;
|
|
15
|
+
selectedTextStyle?: TextStyle;
|
|
16
|
+
iconStyle?: ImageStyle;
|
|
17
|
+
labelStyle?: TextStyle;
|
|
18
|
+
labelFocusStyle?: TextStyle;
|
|
19
|
+
defaultValue?: string;
|
|
20
|
+
iconColor?: string;
|
|
21
|
+
itemTextStyle?: TextStyle;
|
|
22
|
+
onValueChange?: (value: string) => void;
|
|
23
|
+
itemContainerStyle?: ViewStyle;
|
|
24
|
+
keepPlaceholderOnFocus?: boolean;
|
|
25
|
+
selectedItemTextStyle?: TextStyle;
|
|
26
|
+
menuContainerStyle?: ViewStyle;
|
|
27
|
+
activeColor?: string;
|
|
28
|
+
renderRightIcon?: (visible?: boolean) => JSX.Element | null;
|
|
29
|
+
disable?: boolean;
|
|
30
|
+
autoScroll?: boolean;
|
|
31
|
+
}
|
|
32
|
+
declare const CustomDropdown: (props: CustomDropdownProps) => React.JSX.Element;
|
|
33
|
+
export default CustomDropdown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DropDown';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ViewStyle } from 'react-native';
|
|
3
|
+
declare const _default: (props: {
|
|
4
|
+
title: string;
|
|
5
|
+
feedback: string;
|
|
6
|
+
inputText: string;
|
|
7
|
+
rightBtnTxt: string;
|
|
8
|
+
leftBtnTxt: string;
|
|
9
|
+
clearAllData?: () => void;
|
|
10
|
+
handleSendFeedback?: () => void;
|
|
11
|
+
setFeedback: (val: string) => void;
|
|
12
|
+
inputStyle?: ViewStyle;
|
|
13
|
+
}) => React.JSX.Element;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export declare const createStyles: (theme: any) => {
|
|
2
|
+
container: {
|
|
3
|
+
flex: number;
|
|
4
|
+
padding: number;
|
|
5
|
+
justifyContent: "center";
|
|
6
|
+
backgroundColor: any;
|
|
7
|
+
};
|
|
8
|
+
headerText: {
|
|
9
|
+
color: any;
|
|
10
|
+
marginBottom: number;
|
|
11
|
+
};
|
|
12
|
+
textInput: {
|
|
13
|
+
borderRadius: number;
|
|
14
|
+
padding: number;
|
|
15
|
+
color: string;
|
|
16
|
+
textAlignVertical: "top";
|
|
17
|
+
minHeight: number;
|
|
18
|
+
borderColor: any;
|
|
19
|
+
borderWidth: number;
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
};
|
|
22
|
+
charCounter: {
|
|
23
|
+
textAlign: "left";
|
|
24
|
+
marginTop: number;
|
|
25
|
+
color: any;
|
|
26
|
+
};
|
|
27
|
+
buttonContainer: {
|
|
28
|
+
flexDirection: "row";
|
|
29
|
+
marginTop: number;
|
|
30
|
+
};
|
|
31
|
+
feedbackButton: {
|
|
32
|
+
backgroundColor: any;
|
|
33
|
+
borderColor: any;
|
|
34
|
+
borderWidth: number;
|
|
35
|
+
paddingVertical: number;
|
|
36
|
+
paddingHorizontal: number;
|
|
37
|
+
};
|
|
38
|
+
feedbackButtonDisable: {
|
|
39
|
+
backgroundColor: any;
|
|
40
|
+
borderColor: any;
|
|
41
|
+
borderWidth: number;
|
|
42
|
+
paddingVertical: number;
|
|
43
|
+
paddingHorizontal: number;
|
|
44
|
+
};
|
|
45
|
+
cancelButton: {
|
|
46
|
+
paddingVertical: number;
|
|
47
|
+
paddingHorizontal: number;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './feedback';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ViewStyle, ImageStyle } from 'react-native';
|
|
3
|
+
interface FileUploadProps {
|
|
4
|
+
onUpload: () => void;
|
|
5
|
+
title: string;
|
|
6
|
+
containerStyle?: ViewStyle;
|
|
7
|
+
btnText: string;
|
|
8
|
+
uploadImageStyling: ImageStyle;
|
|
9
|
+
icon?: React.ReactElement;
|
|
10
|
+
iconStyle?: ViewStyle;
|
|
11
|
+
}
|
|
12
|
+
declare const FileUpload: React.FC<FileUploadProps>;
|
|
13
|
+
export default FileUpload;
|