Dynamic looping of React animations. Define an animaton with urls, specify a duration, and the animation will repeat for that infinite iterations. You can not change the number of iterations programmatically.