title: How to use react navigation in cljs?
body: <p>Here’s my code in which I’m trying to create multiple bottom tabs using react navigation</p>
  <pre><code>(defn sample-comp []
  [:&gt; View [:&gt; Text &quot;Sample Container!&quot;]])
  (defn root-comp []
    [:&gt; NavigationContainer
     [:&gt; SafeAreaView
      (let [Tab (createBottomTabNavigator)]
        [:&gt; (.-Navigator Tab)
         [:&gt; (.-Screen Tab)
          {:name &quot;Home&quot;
           :component (r/reactify-component sample-comp)}]])]])
  (defn init []
    ;; register error also occurs if there's a non-
    ;; related error in the code
    (dispatch [:register-db])
    (render-root &quot;Humboi&quot; (r/as-element [root-comp])))
    
  </code></pre>
  <p>but I’m getting the following error:
  requireNativeComponent: “RNCSafeAreaProvider” was not found in UIManager.
  How to fix this error?</p>