Module Value.Timing
Animates a value over time using Easing
functions.
Example
let animatedValue = Animated.Value.create(0.0);
let animation = Animated.timing(
~value=animatedValue,
~toValue=`raw(1.0),
~duration=100.0,
(),
);
Animated.start(animation, ());
Check React Native documentation for details.
let animate: value:value(regular) => toValue:[ `raw(float) | `animated(value(regular)) ] => ?easing:BsReactNative.Easing.t => ?duration:float => ?delay:float => ?isInteraction:bool => ?useNativeDriver:bool => ?onComplete:Animation.endCallback => ?iterations:int => unit => Animation.t;