Version: 3.1.0


PresenceTransition provides a declarative API to add entry and exit transitions.




Name Type Description Default
onTransitionComplete (s: "entered" | "exited") => any Callback invoked when transition is completed -
initial ISupportedTransitions Styles before the transition starts -
animate ITransitionStyleProps Entry animation styles -
exit ITransitionStyleProps Exit animation styles -
visible boolean Determines whether to start the animation false
as any Accepts a Component to be rendered as Wrapper. Defaults to `View` -

PresenceTransition implements View


interface ISupportedTransitions {
opacity?: number;
translateY?: number;
translateX?: number;
scale?: number;
scaleX?: number;
scaleY?: number;
rotate?: string;


interface ITransitionStyleProps extends ISupportedTransitions {
transition?: {
type?: 'timing' | 'spring',
easing?: (value: number) => number,
overshootClamping?: boolean,
restDisplacementThreshold?: number,
restSpeedThreshold?: number,
velocity?: number | { x: number, y: number },
bounciness?: number,
speed?: number,
tension?: number,
friction?: number,
stiffness?: number,
mass?: number,
damping?: number,
delay?: number,
duration?: number,
useNativeDriver?: boolean,