react-native navigator

//代码

 {
            return Navigator.SceneConfigs.FloatFromRight
        }}
        renderScene={(route, navigator) => {
            let Component = route.component
            return 
        }}
        navigationBar={
          
        }
      >
      

var NavigationBarRouteMapper = {
  LeftButton: (route, navigator, index, navState) => { 
    if (index === 0) {
      return null;
    } else {
      return (
         navigator.pop()}>
          
            返回
          
        
      );
    }
  },
  RightButton: (route, navigator, index, navState) => {
    if (index === 0) {
      return null;
    } else {
      return (
         route.rightButton && route.rightButton.clicked()}>
          
            
            
              {route.rightButton && route.rightButton.title}
            
          
        
      ); 
    }
  },
  Title: (route, navigator, index, navState) => { 
    return (
      
        {route.title}
      
    ); 
  },
}

你可能感兴趣的:(react-native navigator)