react-native-ease package. Import only what you need:
EasingType
For custom curves, use a
CubicBezier tuple (see below).
CubicBezier
[x1, y1, x2, y2] representing the two control points of a cubic bezier curve. Matches the CSS cubic-bezier() function.
Constraints:
x1andx2must be between0and1y1andy2can exceed the0–1range to create overshoot/undershoot effects
A dev warning is logged if the tuple length is not exactly 4, or if
x1/x2 values fall outside the 0–1 range.TransformOrigin
transformOrigin prop on EaseView.
TransitionEndEvent
onTransitionEnd callback on EaseView. finished is false when a new animation starts before the previous one completes.
AnimateProps
Transition types
TheTransition type is a union of SingleTransition and TransitionMap:
EaseViewProps
EaseView, extending React Native’s ViewProps. See the EaseView reference for per-prop documentation.
Related
- EaseView — component props reference
- AnimateProps — animatable properties
- Transition — animation configuration