Animation

PropertyTypeDescription
type
AnimationTypeThe type of animation that will occur.
One of:
Bounce, BounceIn, BounceOut, FadeIn, FadeOut, SlideInBottom, SlideInLeft, SlideInRight, SlideInTop, SlideOutBottom, SlideOutLeft, SlideOutRight, SlideOutTop
children?
React.ReactNodeThe content to render inside the animation.
delay?
AnimationDelayThe delay before the animation is triggered.
One of:
ExtraLong, Long, Medium, Short
duration?
AnimationDurationThe duration of the animation.
One of:
ExtraLong, Long, Medium, Short
enabled?
booleanUsed to trigger the animation. Toggling this prop will fire the animation.
fillMode?
AnimationFillModeApplies the CSS `animation-fill-mode` property.
One of:
Backwards, Both, Forwards, None
loop?
booleanWhen enabled, loop the animation.
onAnimationEnd?
Event called when the animation ends.
onAnimationStart?
Event called when the animation start.
timing?
AnimationTimingThe easing function that will be used for the animation.
One of:
Ease, EaseIn, EaseInOut, EaseOut, Linear