Cannot display animation as a gif

Hello world.

I recently added a gif as an image in my React Studio project. The image displayed in the application is static. How do we create animated images? Thanks.