Expand description
interface FadeAnimationConfig {
backdropAnimatedStyle?: ModalAnimatedStyleFunction;
contentAnimatedStyle?: ModalAnimatedStyleFunction;
duration?: number;
type: "fade";
}Properties§
§§§§
backdrop Animated Style?: ModalAnimatedStyleFunctionOptional custom worklet function for backdrop animation styles. If provided, merges with the default backdrop fade.
content Animated Style?: ModalAnimatedStyleFunctionOptional custom worklet function for content animation styles. If provided, merges with the default animation for this type. Receives progress (0-1), offsetX, offsetY, and screen dimensions.
duration?: numberDuration of the animation in milliseconds.
type: "fade"
Configuration for fade animation.