parent
							
								
									5f0efb356b
								
							
						
					
					
						commit
						0aa0fec1c4
					
				
				 5 changed files with 44 additions and 60 deletions
			
			
		| @ -1,28 +1,28 @@ | ||||
| import Navigation from "./src/navigation"; | ||||
| import AlertModal from "./src/components/AlertModal"; | ||||
| import { Provider } from "react-redux"; | ||||
| import { store, persistor } from "./src/redux/store"; | ||||
| import React from "react"; | ||||
| import { PersistGate } from "redux-persist/integration/react"; | ||||
| import { copilot } from "react-native-copilot"; | ||||
| import Navigation from './src/navigation'; | ||||
| import AlertModal from './src/components/AlertModal'; | ||||
| // import {SafeAreaView, useSafeAreaInsets} from 'react-native-safe-area-context';
 | ||||
| import {Provider} from 'react-redux'; | ||||
| import {store, persistor} from './src/redux/store'; | ||||
| import React from 'react'; | ||||
| import {PersistGate} from 'redux-persist/integration/react'; | ||||
| import {copilot} from 'react-native-copilot'; | ||||
| 
 | ||||
| const App = () => { | ||||
| const App = props => { | ||||
|   return ( | ||||
|     <Provider store={store}> | ||||
|       <PersistGate loading={null} persistor={persistor}> | ||||
|         <Navigation /> | ||||
|         <AlertModal /> | ||||
|           <Navigation startUserGuide={() => props.start()} /> | ||||
|           <AlertModal /> | ||||
|       </PersistGate> | ||||
|     </Provider> | ||||
|   ); | ||||
| }; | ||||
| 
 | ||||
| 
 | ||||
| export default copilot({ | ||||
|   labels: { | ||||
|     previous: "قبلی", | ||||
|     next: "بعدی", | ||||
|     skip: "رد کردن", | ||||
|     finish: "پایان", | ||||
|     previous: 'قبلی', | ||||
|     next: 'بعدی', | ||||
|     skip: 'رد کردن', | ||||
|     finish: 'پایان', | ||||
|   }, | ||||
| })(App); | ||||
|  | ||||
					Loading…
					
					
				
		Reference in new issue