FormidableLabs / react-animations

🎊 A collection of animations for inline style libraries
MIT License
3.06k stars 160 forks source link

[Question] How to set loop infinite #22

Closed aislanmaia closed 6 years ago

aislanmaia commented 6 years ago

How to set loop infinite? This doesn't seems obvious how to get a infinite loop.

aislanmaia commented 6 years ago

Never mind. I've get it with:

animation: 'shake 2s infinite',
'@keyframes shake': shake,
shake: {
    animationName: 'shake',
    animationDuration: '3s',
}