add animation

This commit is contained in:
Samuel Newman
2025-06-23 14:46:48 +03:00
committed by Eric Bailey
parent dbe86dde43
commit af70a8a9e0
+3
View File
@@ -7,6 +7,7 @@ import {
useState,
} from 'react'
import {Dimensions, View} from 'react-native'
import Animated, {Easing, ZoomIn} from 'react-native-reanimated'
import {useSafeAreaInsets} from 'react-native-safe-area-context'
import {atoms as a, useTheme} from '#/alf'
@@ -293,6 +294,7 @@ function Bubble({
left: coords.left,
},
]}>
<Animated.View entering={ZoomIn.easing(Easing.out(Easing.exp))}>
<View
style={[
a.absolute,
@@ -335,6 +337,7 @@ function Bubble({
}}>
{children}
</View>
</Animated.View>
</View>
)
}