title: React-navigation: How to disable swipe on TabNavigator once init?
body: <p>I set up a <a href="https://reactnavigation.org/docs/navigators/tab" rel="nofollow noreferrer">TabNavigator</a> like so :</p>
  
  <pre><code>class RNNavigation extends Component {
  
    constructor(props) {
      super(props);
    }
  
    render() {
      const MainScreenNavigator = TabNavigator({
        ProfileStack: { screen: ProfileStack },
        Home: { screen: Home },
        HistoryStack: { screen: HistoryStack }
      }, {
        initialRouteName: 'Home',
        tabBarComponent: () =&gt; { return null; },
        swipeEnabled: true
      });
  
      return (
        &lt;MainScreenNavigator/&gt;
      );
    }
  }
  </code></pre>
  
  <p>At some point I need to disable swipe from a screen component. How to do so? Is it possible without re-rendering the navigator.</p>
  
  <p>------ 15/03/2017 EDIT</p>
  
  <p>Tried passing a callback function through screenProps (only work with beta 7) .. but as expected it goes back to initialRouteName 'Home' when I do it from History since it's re-render.</p>
  
  <p>Same problem with redux ...</p>
  
  <p>Any suggestion is more than welcome!</p>