src/Navigators/ListProfileNavigator.js
import ListProfile from '../Screens/ListProfile';
import NewProfile from '../Screens/NewProfile';
import ProfileSchedule from '../Routes/ProfileSchedule';
import {StackNavigator} from 'react-navigation';
const routes = {
profile: {
screen: ListProfile,
navigationOptions: {
header: null
}
},
newProfile: {
screen: NewProfile,
navigationOptions: {
header: null
}
},
initial: {
screen: ProfileSchedule,
navigationOptions: {
header: null
}
}
};
const config = {};
const ListProfileNavigator = StackNavigator(routes, config);
export default ListProfileNavigator;