Last active
January 4, 2018 14:04
-
-
Save ninjaPixel/ee4c64d5c07c07d812e61ad2e0a5702d 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 React from 'react'; | |
import { Route } from 'react-router-dom'; | |
import InitialSetup from '../../screens/InitialSetup/InitialSetup'; | |
import Staff from '../../screens/Staff/Staff'; | |
export const Generate = (props) => { | |
return [ | |
<Route path="/admin/initial-setup" component={InitialSetup} {...props} key="s1" />, | |
<Route path="/admin/staff" component={Staff} {...props} key="s2" />, | |
]; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment