(initialValue: number)
| 3 | import useLazyRef from './useLazyRef'; |
| 4 | |
| 5 | export default function useAnimatedValue(initialValue: number) { |
| 6 | const { current } = useLazyRef(() => new Animated.Value(initialValue)); |
| 7 | |
| 8 | return current; |
| 9 | } |
no test coverage detected
searching dependent graphs…