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