-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.tsx
29 lines (26 loc) · 1.16 KB
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import {NavigationContainer} from '@react-navigation/native';
import {createNativeStackNavigator} from '@react-navigation/native-stack';
import RNBootSplash from 'react-native-bootsplash';
import Home from './screens/Home';
import AboutApp from './screens/AboutApp';
import InfoDev from './screens/InfoDev';
import SymptomList from './screens/SymptomList';
import SymptomDiagnosis from './screens/SymptomDiagnosis';
import ResultDiagnosis from './screens/ResultDiagnosis';
const Stack = createNativeStackNavigator();
function App() {
return (
<NavigationContainer onReady={() => RNBootSplash.hide()}>
<Stack.Navigator
screenOptions={{headerShown: false, animation: 'fade_from_bottom'}}>
<Stack.Screen name="Home" component={Home} />
<Stack.Screen name="SymptomList" component={SymptomList} />
<Stack.Screen name="SymptomDiagnosis" component={SymptomDiagnosis} />
<Stack.Screen name="ResultDiagnosis" component={ResultDiagnosis} />
<Stack.Screen name="AboutApp" component={AboutApp} />
<Stack.Screen name="InfoDev" component={InfoDev} />
</Stack.Navigator>
</NavigationContainer>
);
}
export default App;