Skip to main content
All public types are exported from the react-native-ease package. Import only what you need:

EasingType

Used in TimingTransition to specify the easing curve. Either a preset name or a custom cubic bezier tuple. For custom curves, use a CubicBezier tuple (see below).

CubicBezier

A four-element tuple [x1, y1, x2, y2] representing the two control points of a cubic bezier curve. Matches the CSS cubic-bezier() function. Constraints:
  • x1 and x2 must be between 0 and 1
  • y1 and y2 can exceed the 0–1 range 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

Pivot point for scale and rotation animations, expressed as 0–1 fractions of the view’s dimensions. Passed to the transformOrigin prop on EaseView.

TransitionEndEvent

Passed to the onTransitionEnd callback on EaseView. finished is false when a new animation starts before the previous one completes.

AnimateProps

See the full AnimateProps reference for per-property documentation, defaults, and examples.

Transition types

The Transition type is a union of SingleTransition and TransitionMap:
See the full Transition reference for per-type documentation and examples.

EaseViewProps

The full props type for EaseView, extending React Native’s ViewProps. See the EaseView reference for per-prop documentation.