title: Use Lottie animations as a background
body: <p>I am using a ImageBackground component in react native and it's a card component have some images to set on background and No i have to use Lottie design so i am not able to get how can i use lottie designs with Imagebackground. As if lottie designs are choosed then i will show lottie design other wise will show Imagebackground data.</p>
  <pre><code>&lt;ImageBackground&gt;
   &lt;LottieView
          source={require('../path/to/animation.json')}
          colorFilters={[{
            keypath: &quot;button&quot;,
            color: &quot;#F00000&quot;
          },{
            keypath: &quot;Sending Loader&quot;,
            color: &quot;#F00000&quot;
          }]}
          autoPlay
          loop
        &gt;&lt;/LottieView&gt;
  &lt;/ImageBackground&gt;
  </code></pre>
  <p>How can i use lottie designs in the imagebackground.</p>