title: How to add SVG component as full App background in react native
body: <p>I am new to React native trying to add an SVG component in App.js file so my complete app have same background. I also try to use Image background which is also not working. Please help me in this</p>
  <pre><code>const App = () =&gt; {
    return (
      &lt;Provider store={store}&gt;
        &lt;SafeAreaView style={style.safeContainer}&gt;
          &lt;StatusBar
            backgroundColor={DARK_COLORS.primaryDark}
            barStyle=&quot;light-content&quot;
          /&gt;
          &lt;AppBackground&gt;
            {/* &lt;ImageBackground
            source={require('./assets/svg/AppBackground.svg')}
            resizeMode={'cover'}
            style={{
              flex: 1,
              justifyContent: 'center',
              alignItems: 'center',
            }}&gt; */}
            &lt;RouteHome /&gt;
            {/* &lt;/ImageBackground&gt; */}
          &lt;/AppBackground&gt;
        &lt;/SafeAreaView&gt;
      &lt;/Provider&gt;
    );
  };
  
  export default App;
  </code></pre>