Expo UI and Router for iOSExpo SDK 57 and later, iOS only
Modifiers

animation

animation(animationObject, animatedValue)

ParameterType
animationObjectChainableAnimationType
animatedValuenumber | boolean

Returns: ModifierConfig

Works with

You can add animation to any view. It changes what you see on 39 of the 39 components.

Needs care

It works on these components, but not in the way that you may expect.

ComponentWhat to know
SliderThe Slider animates its own thumb. Use this for the other modifiers on the slider.
ProgressViewThe bar animates its own progress. Use this for the other modifiers on the view.

Sources

The original Expo docs for this page:

On this page