title: How to Add Font Family in react native at once like web
body: <blockquote>
  <p>I want to add font family like i added <code>{DarkTheme}</code> that applies on my whole
  app. Otherwise, i have to add my custom font family in every Text component or through stylesheet, where instead i want to make default font family for Text component.</p>
  </blockquote>
  <pre><code>const App = () =&gt; {
    return (
      &lt;MyContextprovider&gt;
        &lt;NavigationContainer theme={DarkTheme}&gt;
          &lt;UserSwitchstack /&gt;
        &lt;/NavigationContainer&gt;
      &lt;/MyContextprovider&gt;
    )
   };
  </code></pre>