@jescon-technologies/react-native-ui-kit 0.0.6 → 0.0.8
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/index.d.ts +2 -66
- package/index.js +1 -66
- package/package.json +1 -1
- package/src/Alerts/AAlert.js +0 -137
- package/src/Alerts/AAlertIOS.js +0 -97
- package/src/Alerts/ABlink.js +0 -40
- package/src/Common/Icons.js +0 -49
- package/src/Common/NetworkServiceCall.js +0 -265
- package/src/CommonStyle/CommonTheme.js +0 -11
- package/src/CommonStyle/ComponentFunctions.js +0 -632
- package/src/CommonStyle/PopupStyle.js +0 -146
- package/src/CommonStyle/commonStyle.js +0 -93
- package/src/CommonStyle/componentStyle.js +0 -545
- package/src/CommonStyle/optionListStyles.js +0 -175
- package/src/Components/ByProductPage.js +0 -200
- package/src/Components/CDropDownListNew.js +0 -153
- package/src/Components/CSupplierList.js +0 -88
- package/src/Components/CVerificationCard.js +0 -2822
- package/src/Components/CustomButton.js +0 -67
- package/src/Components/CustomCard.js +0 -127
- package/src/Components/CustomTextInput.js +0 -47
- package/src/Components/EquipmentPage.js +0 -313
- package/src/Components/FilterInput.Copy.js +0 -723
- package/src/Components/FilterInput.js +0 -569
- package/src/Components/HSubHeading.js +0 -68
- package/src/Components/HeaderCard.js +0 -40
- package/src/Components/MoreOptionsScreen.js +0 -251
- package/src/Components/NonSwipableProductCard.js +0 -226
- package/src/Components/NonSwipableSupplierCard.js +0 -348
- package/src/Components/ProductCard.js +0 -1336
- package/src/Components/QualityProductCard.js +0 -1059
- package/src/Components/RateProductCard.js +0 -1452
- package/src/Components/RawMaterial.js +0 -261
- package/src/Components/SDropDownEdited.js +0 -549
- package/src/Components/SDropDownNew.js +0 -529
- package/src/Components/SHelpDescription.js +0 -147
- package/src/Components/STextInputNew.js +0 -510
- package/src/Components/SearchProductCard.js +0 -470
- package/src/Components/StageByProduct.js +0 -199
- package/src/Components/SupplierCard.js +0 -243
- package/src/Components/SupplierInvoiceCard.js +0 -405
- package/src/Components/SwipableSupplierCard.js +0 -136
- package/src/Components/TagTemplate.js +0 -74
- package/src/Components/WrappedComponent.js +0 -25
- package/src/Custom/CBooking.js +0 -944
- package/src/Custom/CBookingPostpone.js +0 -1822
- package/src/Custom/CCalendar.js +0 -560
- package/src/Custom/CCard.js +0 -880
- package/src/Custom/CDetailCard.js +0 -205
- package/src/Custom/CHelpImage.js +0 -52
- package/src/Custom/CReport.js +0 -569
- package/src/Custom/CScrollView.js +0 -73
- package/src/Custom/CSignature.js +0 -112
- package/src/Custom/CSliderMenu.js +0 -339
- package/src/Custom/CSupplierCard.js +0 -99
- package/src/Custom/CTemplateCard.js +0 -438
- package/src/Custom/CTokenAllocation.js +0 -1402
- package/src/Custom/CTokenListOverlay.js +0 -122
- package/src/Custom/CWardStatus.js +0 -444
- package/src/Custom/Charts/CBarChart.js +0 -218
- package/src/Custom/Charts/CDashBoardList.js +0 -133
- package/src/Custom/Charts/CDashBoardTable.js +0 -172
- package/src/Custom/Charts/CLineChart.js +0 -193
- package/src/Custom/Charts/CPieChart.js +0 -186
- package/src/Custom/Loader.js +0 -182
- package/src/Custom/OUserView.js +0 -1121
- package/src/Custom/PreviewDosage.js +0 -115
- package/src/Custom/SearchLoader.js +0 -32
- package/src/Custom/TableComponent/CActivityTable.js +0 -707
- package/src/Custom/TableComponent/CMoreButtonTable.js +0 -197
- package/src/Custom/TableComponent/CTable.js +0 -185
- package/src/Custom/TableComponent/CTextBody.js +0 -40
- package/src/Custom/TableComponent/CTextHeader.js +0 -17
- package/src/Custom/TableComponent/PreviewPrescriptionNew.js +0 -1011
- package/src/Custom/TableComponent/SDropdownTable.js +0 -491
- package/src/Custom/TableComponent/TagTable.js +0 -1200
- package/src/CustomComponents/CAddColumn.js +0 -140
- package/src/CustomComponents/CAssessmentDelete.js +0 -307
- package/src/CustomComponents/CAwesomeButton.js +0 -83
- package/src/CustomComponents/CAwesomeMoreButton.js +0 -54
- package/src/CustomComponents/CBackHandler.js +0 -273
- package/src/CustomComponents/CCalendar.js +0 -243
- package/src/CustomComponents/CCommentOverlay.js +0 -202
- package/src/CustomComponents/CComments.js +0 -162
- package/src/CustomComponents/CContainerView.js +0 -24
- package/src/CustomComponents/CCustomTextInput.js +0 -336
- package/src/CustomComponents/CDetailView.js +0 -40
- package/src/CustomComponents/CDropDownList.js +0 -153
- package/src/CustomComponents/CDropdownSelect.js +0 -555
- package/src/CustomComponents/CFooterView.js +0 -42
- package/src/CustomComponents/CImagePickerSave.js +0 -316
- package/src/CustomComponents/CModalOverlay.js +0 -91
- package/src/CustomComponents/CNetworkStatus.js +0 -327
- package/src/CustomComponents/CNotesInstructions.js +0 -1000
- package/src/CustomComponents/COverlay.js +0 -81
- package/src/CustomComponents/CRemarks.js +0 -176
- package/src/CustomComponents/CRowAdd.js +0 -143
- package/src/CustomComponents/CSummaryDropDown.js +0 -327
- package/src/CustomComponents/CText.js +0 -9
- package/src/CustomComponents/CVectorIcon.js +0 -34
- package/src/CustomComponents/HtmlContentViewer.js +0 -65
- package/src/CustomComponents/PdfContentViewer.js +0 -90
- package/src/CustomComponents/SDropDownDosage.js +0 -1087
- package/src/CustomComponents/SwipableProductCard.js +0 -246
- package/src/CustomComponents/SwipableProductImageCard.js +0 -254
- package/src/CustomComponents/WorkOrderDetails.js +0 -1216
- package/src/CustomComponents/WorkOrderDetailsPage.js +0 -1213
- package/src/HOC/ConfirmOverlay.js +0 -192
- package/src/HOC/HHeading.js +0 -70
- package/src/HOC/HMoreButton.js +0 -88
- package/src/HOC/HNatureHeading.js +0 -402
- package/src/HOC/HOCIcons.js +0 -80
- package/src/HOC/HOverlayCentered.js +0 -140
- package/src/HOC/HShadowButton.js +0 -45
- package/src/HOC/HShadowCountButton.js +0 -82
- package/src/HOC/OptionOverlay.js +0 -48
- package/src/Json/Chart.json +0 -818
- package/src/Json/Consultation.json +0 -622
- package/src/Json/CreditBill.json +0 -490
- package/src/Json/Dropdown.json +0 -216
- package/src/Json/DropdownConsultation.json +0 -228
- package/src/Json/DynamicReports.json +0 -623
- package/src/Json/Footer.json +0 -79
- package/src/Media/AudioScreen.js +0 -342
- package/src/Media/BarcodeScan.js +0 -145
- package/src/Media/CAudioPlay.js +0 -228
- package/src/Media/CCaptureImageWithoutEdit.js +0 -330
- package/src/Media/CImageGallery.js +0 -289
- package/src/Media/CImageZoom.js +0 -82
- package/src/Media/CSingleImage.js +0 -391
- package/src/Media/CSketchCanvas.js +0 -76
- package/src/Media/CVideoPlay.js +0 -31
- package/src/Media/DocumentScreen.js +0 -362
- package/src/Media/DrawingScreen.js +0 -578
- package/src/Media/ImageScreen.js +0 -309
- package/src/Media/RecordAudio.js +0 -250
- package/src/Media/RecordVideo.js +0 -223
- package/src/Media/VideoScreen.js +0 -378
- package/src/Navigation/PageNavigation.js +0 -224
- package/src/Navigation/useFocusEffect.js +0 -2
- package/src/Navigation/useFocusEffect.native.js +0 -1
- package/src/Navigation/useFocusEffect.web.js +0 -1
- package/src/Navigation/useIsFocused.js +0 -1
- package/src/Navigation/useIsFocused.native.js +0 -1
- package/src/Navigation/useIsFocused.web.js +0 -1
- package/src/Navigation/useNavigation.js +0 -2
- package/src/Navigation/useNavigation.native.js +0 -1
- package/src/Navigation/useNavigation.web.js +0 -1
- package/src/Screens/CMedications.js +0 -528
- package/src/Screens/CWebViewGallery.js +0 -203
- package/src/Screens/ChartScan.js +0 -279
- package/src/Screens/ChartScreenNew.js +0 -1579
- package/src/Screens/Consultation.js +0 -1500
- package/src/Screens/Dashboard.js +0 -778
- package/src/Screens/FileExplorer.js +0 -288
- package/src/Screens/Footer.js +0 -340
- package/src/Screens/ForgotPassword.js +0 -288
- package/src/Screens/HeaderBlock.js +0 -353
- package/src/Screens/Login.js +0 -328
- package/src/Screens/Notification.js +0 -149
- package/src/Screens/OcrScreen.js +0 -20
- package/src/Screens/PdfPreview.js +0 -507
- package/src/Screens/RegistrationDetails.js +0 -467
- package/src/Screens/SearchScreen.js +0 -582
- package/src/Screens/Splash.js +0 -788
- package/src/Screens/SwipeLeftView.js +0 -1867
- package/src/StaticComponents/SAlphabet.js +0 -47
- package/src/StaticComponents/SCheckBox.js +0 -42
- package/src/StaticComponents/SDatePicker.js +0 -208
- package/src/StaticComponents/SDatePickerLabel.js +0 -253
- package/src/StaticComponents/SDatePickerNew.js +0 -258
- package/src/StaticComponents/SDateTimePickerNew.js +0 -381
- package/src/StaticComponents/SDropDownGenerate.js +0 -450
- package/src/StaticComponents/SDropDownHoc.js +0 -636
- package/src/StaticComponents/SDropDownIcon.js +0 -500
- package/src/StaticComponents/SMenuBox.js +0 -131
- package/src/StaticComponents/SOverlay.js +0 -177
- package/src/StaticComponents/SOverlayTextInput.js +0 -109
- package/src/StaticComponents/SSearch.js +0 -438
- package/src/StaticComponents/SSearchBar.js +0 -53
- package/src/StaticComponents/SSpeedDial.js +0 -303
- package/src/StaticComponents/STextInput.js +0 -289
- package/src/StaticComponents/STextInputProps.js +0 -36
- package/src/StaticComponents/STimePicker.js +0 -171
- package/src/StaticComponents/STimingDropDownNew.js +0 -1585
- package/src/StaticComponents/STimingSwitch.js +0 -34
- package/src/layout/CContainerView.js +0 -21
- package/src/layout/CDetailView.js +0 -81
- package/src/layout/HeaderBlock.js +0 -353
- package/src/layout/INVLoginLayout.js +0 -657
- package/src/layout/Loader.js +0 -176
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { createContext, useState, useRef, useEffect, useContext } from 'react';
|
|
3
|
-
import { View, Text, Button, Platform } from 'react-native';
|
|
4
|
-
import { NavigationContainer } from '@react-navigation/native';
|
|
5
|
-
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
|
6
|
-
import Splash from '../Screens/Splash';
|
|
7
|
-
import Login from '../Screens/Login';
|
|
8
|
-
import Dashboard from '../Screens/Dashboard';
|
|
9
|
-
import MoreOptionsScreen from '../Components/MoreOptionsScreen';
|
|
10
|
-
import Notifications from '../Screens/Notification';
|
|
11
|
-
import ForgotPassword from '../Screens/ForgotPassword';
|
|
12
|
-
import WrappedComponent from '../Components/WrappedComponent';
|
|
13
|
-
import PdfUnSavedViewer from '../Screens/PdfUnSavedViewer';
|
|
14
|
-
import PdfPreview from '../Screens/PdfPreview';
|
|
15
|
-
import PdfUnSavedViewerDownload from '../Screens/PdfUnsavedViewerDownload';
|
|
16
|
-
import SearchScreen from '../Screens/SearchScreen';
|
|
17
|
-
import FileExplorer from '../Screens/FileExplorer';
|
|
18
|
-
import BiodataEdit from '../Screens/BiodataEdit';
|
|
19
|
-
import CInvoiceQuantityVerificationScreen from '../CustomComponents/CInvoiceQuantityVerificationScreen';
|
|
20
|
-
import PDFScreen from '../Screens/PDFScreen';
|
|
21
|
-
import CInvoiceRateEntryScreen from '../CustomComponents/CInvoiceRateEntryScreen';
|
|
22
|
-
import CProductPhysicalQuantityScreen from '../CustomComponents/CProductPhysicalQuantityScreen';
|
|
23
|
-
import CSupplierList from '../Components/CSupplierList';
|
|
24
|
-
import CInvoiceRateVerificationScreen from '../CustomComponents/CInvoiceRateVerificationScreen';
|
|
25
|
-
import CInvoiceQualityEntryScreen from '../CustomComponents/CInvoiceQualityEntryScreen';
|
|
26
|
-
import CInvoiceQualityVerificationScreen from '../CustomComponents/CInvoiceQualityVerificationScreen';
|
|
27
|
-
import CPurchaseDetails from '../CustomComponents/CPurchaseDetails';
|
|
28
|
-
import CStockAdjustScreen from '../CustomComponents/CStockAdjustScreen';
|
|
29
|
-
import CSupplierInvoiceList from '../CustomComponents/CSupplierInvoiceList';
|
|
30
|
-
import CCaptureImageWithoutEdit from '../Media/CCaptureImageWithoutEdit';
|
|
31
|
-
import HtmlPreview from '../Screens/HtmlPreview';
|
|
32
|
-
|
|
33
|
-
//////////////////////////////////////////////////////////////////
|
|
34
|
-
// -------- Web Navigation (Your Custom Stack) -------------------
|
|
35
|
-
//////////////////////////////////////////////////////////////////
|
|
36
|
-
|
|
37
|
-
const screens = {
|
|
38
|
-
Splash,
|
|
39
|
-
Login,
|
|
40
|
-
Dashboard,
|
|
41
|
-
MoreOptionsScreen,
|
|
42
|
-
Notifications,
|
|
43
|
-
ForgotPassword,
|
|
44
|
-
WrappedComponent,
|
|
45
|
-
PdfUnSavedViewer,
|
|
46
|
-
PdfPreview,
|
|
47
|
-
PdfUnSavedViewerDownload,
|
|
48
|
-
SearchScreen,
|
|
49
|
-
FileExplorer,
|
|
50
|
-
BiodataEdit,
|
|
51
|
-
CInvoiceQuantityVerificationScreen,
|
|
52
|
-
PDFScreen,
|
|
53
|
-
CInvoiceRateEntryScreen,
|
|
54
|
-
CProductPhysicalQuantityScreen,
|
|
55
|
-
CPurchaseDetails,
|
|
56
|
-
CSupplierList,
|
|
57
|
-
CInvoiceRateVerificationScreen,
|
|
58
|
-
CInvoiceQualityEntryScreen,
|
|
59
|
-
CInvoiceQualityVerificationScreen,
|
|
60
|
-
CStockAdjustScreen,
|
|
61
|
-
CSupplierInvoiceList,
|
|
62
|
-
CCaptureImageWithoutEdit,
|
|
63
|
-
HtmlPreview,
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
const NavigationContext = createContext(null);
|
|
67
|
-
|
|
68
|
-
export const NavigationProvider = ({ children }) => {
|
|
69
|
-
const [stack, setStack] = useState([{ name: 'Splash', params: {} }]);
|
|
70
|
-
const focusListeners = useRef({});
|
|
71
|
-
|
|
72
|
-
const current = stack[stack.length - 1];
|
|
73
|
-
|
|
74
|
-
const navigate = (screenName, params = {}) => {
|
|
75
|
-
setStack(prev => [...prev, { name: screenName, params }]);
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
const replace = (screenName, params = {}) => {
|
|
79
|
-
setStack(prev => [...prev.slice(0, -1), { name: screenName, params }]);
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
const goBack = () => {
|
|
83
|
-
if (stack.length > 1) {setStack(prev => prev.slice(0, -1));}
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
const addFocusListener = (screenName, callback) => {
|
|
87
|
-
if (!focusListeners.current[screenName]) {focusListeners.current[screenName] = [];}
|
|
88
|
-
focusListeners.current[screenName].push(callback);
|
|
89
|
-
return () => {
|
|
90
|
-
focusListeners.current[screenName] = focusListeners.current[screenName].filter(cb => cb !== callback);
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
useEffect(() => {
|
|
95
|
-
const listeners = focusListeners.current[current.name] || [];
|
|
96
|
-
listeners.forEach(cb => cb());
|
|
97
|
-
}, [current.name]);
|
|
98
|
-
|
|
99
|
-
return (
|
|
100
|
-
<NavigationContext.Provider
|
|
101
|
-
value={{ navigate, goBack, replace, addFocusListener, current }}
|
|
102
|
-
>
|
|
103
|
-
<View style={{ flex: 1 }}>
|
|
104
|
-
{stack.map((route, index) => {
|
|
105
|
-
const ScreenComponent = screens[route.name];
|
|
106
|
-
const isFocused = index === stack.length - 1;
|
|
107
|
-
|
|
108
|
-
return (
|
|
109
|
-
<View
|
|
110
|
-
key={index}
|
|
111
|
-
style={{
|
|
112
|
-
flex: 1,
|
|
113
|
-
display: isFocused ? 'flex' : 'none',
|
|
114
|
-
}}
|
|
115
|
-
>
|
|
116
|
-
<ScreenComponent
|
|
117
|
-
navigation={{ navigate, replace, goBack }}
|
|
118
|
-
route={{ params: route.params }}
|
|
119
|
-
/>
|
|
120
|
-
</View>
|
|
121
|
-
);
|
|
122
|
-
})}
|
|
123
|
-
|
|
124
|
-
{children}
|
|
125
|
-
</View>
|
|
126
|
-
</NavigationContext.Provider>
|
|
127
|
-
);
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
export const useNavigation = () => {
|
|
131
|
-
const ctx = useContext(NavigationContext);
|
|
132
|
-
if (!ctx) {throw new Error('useNavigation must be used inside NavigationProvider');}
|
|
133
|
-
return ctx;
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
export const useFocusEffect = (callback) => {
|
|
137
|
-
const { current, addFocusListener } = useNavigation();
|
|
138
|
-
const cleanupRef = useRef(null);
|
|
139
|
-
|
|
140
|
-
useEffect(() => {
|
|
141
|
-
cleanupRef.current?.();
|
|
142
|
-
const unsubscribe = addFocusListener(current.name, () => {
|
|
143
|
-
cleanupRef.current?.();
|
|
144
|
-
cleanupRef.current = callback();
|
|
145
|
-
});
|
|
146
|
-
return () => {
|
|
147
|
-
cleanupRef.current?.();
|
|
148
|
-
unsubscribe?.();
|
|
149
|
-
};
|
|
150
|
-
}, [current.name]);
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
// Hook to check if the current screen is focused
|
|
154
|
-
export const useIsFocused = () => {
|
|
155
|
-
const { current, addFocusListener } = useNavigation();
|
|
156
|
-
const [isFocused, setIsFocused] = useState(true);
|
|
157
|
-
|
|
158
|
-
useEffect(() => {
|
|
159
|
-
// Initial check
|
|
160
|
-
setIsFocused(true);
|
|
161
|
-
|
|
162
|
-
// Subscribe to focus changes
|
|
163
|
-
const unsubscribe = addFocusListener(current.name, () => {
|
|
164
|
-
setIsFocused(true);
|
|
165
|
-
});
|
|
166
|
-
|
|
167
|
-
// When the screen loses focus, we mark it as not focused
|
|
168
|
-
return () => {
|
|
169
|
-
setIsFocused(false);
|
|
170
|
-
unsubscribe();
|
|
171
|
-
};
|
|
172
|
-
}, [current.name]);
|
|
173
|
-
|
|
174
|
-
return isFocused;
|
|
175
|
-
};
|
|
176
|
-
|
|
177
|
-
export const ReactNativeNavigation = () => {
|
|
178
|
-
const Stack = createNativeStackNavigator();
|
|
179
|
-
|
|
180
|
-
return (
|
|
181
|
-
<NavigationContainer>
|
|
182
|
-
<Stack.Navigator
|
|
183
|
-
initialRouteName="Splash"
|
|
184
|
-
screenOptions={{
|
|
185
|
-
animation: 'none',
|
|
186
|
-
headerShown: false,
|
|
187
|
-
}}
|
|
188
|
-
>
|
|
189
|
-
<Stack.Screen name="Splash" component={Splash} />
|
|
190
|
-
<Stack.Screen name="Login" component={Login} />
|
|
191
|
-
<Stack.Screen name="Dashboard" component={Dashboard} />
|
|
192
|
-
<Stack.Screen name="MoreOptionsScreen" component={MoreOptionsScreen} />
|
|
193
|
-
<Stack.Screen name="Notifications" component={Notifications} />
|
|
194
|
-
<Stack.Screen name="ForgotPassword" component={ForgotPassword} />
|
|
195
|
-
<Stack.Screen name="WrappedComponent" component={WrappedComponent} />
|
|
196
|
-
<Stack.Screen name="PdfUnSavedViewer" component={PdfUnSavedViewer} />
|
|
197
|
-
<Stack.Screen name="PdfPreview" component={PdfPreview} />
|
|
198
|
-
<Stack.Screen name="PdfUnSavedViewerDownload" component={PdfUnSavedViewerDownload} />
|
|
199
|
-
<Stack.Screen name="SearchScreen" component={SearchScreen} />
|
|
200
|
-
<Stack.Screen name="FileExplorer" component={FileExplorer} />
|
|
201
|
-
<Stack.Screen name="BiodataEdit" component={BiodataEdit} />
|
|
202
|
-
<Stack.Screen name="CInvoiceQuantityVerificationScreen" component={CInvoiceQuantityVerificationScreen} />
|
|
203
|
-
<Stack.Screen name="PDFScreen" component={PDFScreen} />
|
|
204
|
-
<Stack.Screen name="CInvoiceRateEntryScreen" component={CInvoiceRateEntryScreen} />
|
|
205
|
-
<Stack.Screen name="CProductPhysicalQuantityScreen" component={CProductPhysicalQuantityScreen} />
|
|
206
|
-
<Stack.Screen name="CPurchaseDetails" component={CPurchaseDetails} />
|
|
207
|
-
<Stack.Screen name="CSupplierList" component={CSupplierList} />
|
|
208
|
-
<Stack.Screen name="CInvoiceRateVerificationScreen" component={CInvoiceRateVerificationScreen} />
|
|
209
|
-
<Stack.Screen name="CInvoiceQualityEntryScreen" component={CInvoiceQualityEntryScreen} />
|
|
210
|
-
<Stack.Screen name="CInvoiceQualityVerificationScreen" component={CInvoiceQualityVerificationScreen} />
|
|
211
|
-
<Stack.Screen name="CStockAdjustScreen" component={CStockAdjustScreen} />
|
|
212
|
-
<Stack.Screen name="CSupplierInvoiceList" component={CSupplierInvoiceList} />
|
|
213
|
-
<Stack.Screen name="CCaptureImageWithoutEdit" component={CCaptureImageWithoutEdit} />
|
|
214
|
-
<Stack.Screen name="HtmlPreview" component={HtmlPreview} />
|
|
215
|
-
</Stack.Navigator>
|
|
216
|
-
</NavigationContainer>
|
|
217
|
-
);
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
export default function Navigation() {
|
|
221
|
-
|
|
222
|
-
return Platform.OS === 'web' ? <NavigationProvider /> : <ReactNativeNavigation />;
|
|
223
|
-
}
|
|
224
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useFocusEffect } from '@react-navigation/native';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useFocusEffect } from './PageNavigation';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useIsFocused } from './PageNavigation';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useIsFocused } from '@react-navigation/native';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useIsFocused } from './PageNavigation';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useNavigation } from '@react-navigation/native';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { useNavigation } from './PageNavigation';
|