Created
October 9, 2021 04:40
-
-
Save xiongemi/7c1448fffd3fe6bd57438bd51a1f32a6 to your computer and use it in GitHub Desktop.
daily-horoscope-web
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { rootStore } from '@aztro-daily-horoscope/store'; | |
import { | |
ZodiacSignListContainer, | |
HoroscopeCardContainer, | |
} from '@aztro-daily-horoscope/ui'; | |
import { NavigationContainer } from '@react-navigation/native'; | |
import { createStackNavigator } from '@react-navigation/stack'; | |
import * as React from 'react'; | |
import { Provider } from 'react-redux'; | |
const Stack = createStackNavigator(); | |
const App = () => { | |
return ( | |
<> | |
<style type="text/css">{` | |
@font-face { | |
font-family: 'MaterialIcons'; | |
src: url(${require('react-native-vector-icons/Fonts/MaterialIcons.ttf')}) format('truetype'); | |
} | |
@font-face { | |
font-family: 'MaterialCommunityIcons'; | |
src: url(${require('react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf')}) format('truetype'); | |
} | |
`}</style> | |
<Provider store={rootStore}> | |
<NavigationContainer> | |
<Stack.Navigator> | |
<Stack.Screen | |
name="Zodiac Sign List" | |
component={ZodiacSignListContainer} | |
/> | |
<Stack.Screen | |
name="Horoscope Card" | |
component={HoroscopeCardContainer} | |
/> | |
</Stack.Navigator> | |
</NavigationContainer> | |
</Provider> | |
</> | |
); | |
}; | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment