react-gifplayer   

gifplayer is the React component version of jquery.gifplayer

It will help you play and stop animated gifs on your website. Something like they do in 9gag or facebook.

 

Default options (play on click)

const bananaPng = require('../media/banana.png');
const bananaGif = require('../media/banana.gif');
<Gifplayer preview={bananaPng} animation={bananaGif}/>

 

Find it on Github. And check out my blog for more javascript related content.