FormidableLabs / react-animations

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

Animation Delay? #18

Closed franciskim722 closed 7 years ago

franciskim722 commented 7 years ago

Any way to delay animations?

import { slideInLeft } from 'react-animations';
import { StyleSheet, css } from 'aphrodite';

const styles = StyleSheet.create({
  slideInLeft: {
    animationDelay: '2s',
    animationName: slideInLeft,
    animationDuration: '3s'
  }
});

Adding the animation delay property did not work.

aweary commented 7 years ago

Hey @franciskim722, you should refer to the Aphrodite docs for support with this. react-animations just exports objects that describe the animation, and don't control how its processed by the consuming style library. Thanks!