Created
August 27, 2019 21:00
-
-
Save EkaanshArora/9f2ef696dd08e9d9ae75bb6f4696b3d3 to your computer and use it in GitHub Desktop.
This file contains 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 { Router, Scene, ActionConst } from 'react-native-router-flux'; | |
import React from 'react'; | |
import Video from './Video'; | |
import Home from './Home'; | |
const RouterComponent = () => ( | |
<Router> | |
<Scene> | |
<Scene key="home" component={Home} title="Agora Video Call" initial type={ActionConst.RESET} /> | |
<Scene key="video" component={Video} title="Video Feed" type={ActionConst.RESET} hideNavBar={true} /> | |
</Scene> | |
</Router> | |
); | |
export default RouterComponent; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment