/**
 * Created by zhouhuan on 2017/11/3.
 */
import { StackNavigator } from 'react-navigation';
import PeopleInfo from './peopelInfo';
import PeopleDetailInfo from './peopleDetailInfo';
import AddPeopleInfo from './addPeopleInfo';
import peopleDetailEditScreen from "./peopleDetailEditScreen";

const peopleInfoErJiScreen = StackNavigator(
  {
    peopleInfoList: {
      screen: PeopleInfo,
    },
    peopleInfoDetail: {
      screen: PeopleDetailInfo,
    },
    addPeoppleInfo: {
      screen: AddPeopleInfo,
    },
    peopleInfoDetailEdit: {
      screen: peopleDetailEditScreen,
    },
  },
  {
    headerMode: 'none',
    navigationOptions: {
      gesturesEnabled: false,
    },
  },
);
export default peopleInfoErJiScreen;
