title: How to hide top navigation bar in react-native?
body: <p>I want to hide top navigation bar in some cases.</p>
  <p>this is not work in reactnavigation V4</p>
  <pre><code>  const RemoveTopBar = () =&gt; {
     navigation.setOptions({
             headerShown: () =&gt; false,
           });
  }
  </code></pre>
  <p>how can i handle this ?</p>