mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at rm-proxy 12 lines 321 B view raw
1import * as React from 'react' 2import {Animated} from 'react-native' 3 4export function useAnimatedValue(initialValue: number) { 5 const lazyRef = React.useRef<Animated.Value>() 6 7 if (lazyRef.current === undefined) { 8 lazyRef.current = new Animated.Value(initialValue) 9 } 10 11 return lazyRef.current as Animated.Value 12}