Bluesky app fork with some witchin' additions 馃挮
at main 27 lines 508 B view raw
1import {withDelay, withSequence, withTiming} from 'react-native-reanimated' 2 3export function ShrinkAndPop() { 4 'worklet' 5 6 const animations = { 7 opacity: withDelay(125, withTiming(0, {duration: 125})), 8 transform: [ 9 { 10 scale: withSequence( 11 withTiming(0.7, {duration: 75}), 12 withTiming(1.1, {duration: 150}), 13 ), 14 }, 15 ], 16 } 17 18 const initialValues = { 19 opacity: 1, 20 transform: [{scale: 1}], 21 } 22 23 return { 24 animations, 25 initialValues, 26 } 27}