From b0d5ad7018771e4f6f2a081f10bcd539164f9384 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 31 Jul 2025 15:06:45 +0200 Subject: [PATCH] add exp eased slide aniamtions --- src/components/Toast/index.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/components/Toast/index.tsx b/src/components/Toast/index.tsx index 46d73d7736..131a796b3f 100644 --- a/src/components/Toast/index.tsx +++ b/src/components/Toast/index.tsx @@ -6,9 +6,10 @@ import { GestureHandlerRootView, } from 'react-native-gesture-handler' import Animated, { - FadeIn, - FadeOut, + Easing, runOnJS, + SlideInUp, + SlideOutUp, useAnimatedReaction, useAnimatedStyle, useSharedValue, @@ -173,8 +174,12 @@ function AnimatedToast({ pointerEvents="box-none"> {alive && ( setCardHeight(evt.nativeEvent.layout.height)} accessibilityRole="alert" accessible={true}