Skip to content

Instantly share code, notes, and snippets.


BrightnBubbly/Routes.js Secret

Created Apr 26, 2020
What would you like to do?
import React from 'react';
import { Router, Scene } from 'react-native-router-flux'
import Login from './Login';
import Chat from './ClientChat';
import Admin from './AdminChat';
const Routes = () => (
<Scene key = "root">
<Scene key = "login" component = {Login} title = "Login" initial = {true} />
<Scene key = "chat" component = {Chat} title = "Chat" />
<Scene key = "admin" component = {Admin} title = "Admin Panel" />
export default Routes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.