How can I create a frame by frame animation in react.js and upload it to my page