You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
795 B

import { StyleSheet } from "react-native";
import { useFonts } from "expo-font";
import AppLoading from "expo-app-loading";
import Navigation from "./navigation/index";
3 years ago
import AlertModal from "./src/components/AlertModal";
import { Provider } from "react-redux";
import store from './src/redux/store';
3 years ago
const App = () => {
let [fontsLoaded] = useFonts({
light : require("./assets/fonts/Farsi/IRANSansXFaNum-Light.ttf"),
regular: require("./assets/fonts/Farsi/IRANSansXFaNum-Regular.ttf"),
bold: require("./assets/fonts/Farsi/IRANSansXFaNum-Medium.ttf"),
});
if (!fontsLoaded) {
return <AppLoading />;
}
return (
3 years ago
<Provider store={store}>
<Navigation />
3 years ago
<AlertModal />
</Provider>
);
3 years ago
};
3 years ago
const styles = StyleSheet.create({});
export default App;