18 lines
404 B
JavaScript
18 lines
404 B
JavaScript
// Module ID: 491
|
|
// Function ID: 492
|
|
// Name: useAnimatedValue
|
|
// Dependencies: [19, 397]
|
|
// Exports: default
|
|
|
|
// Module 491 (useAnimatedValue)
|
|
import { useRef } from "noop";
|
|
|
|
|
|
export default function useAnimatedValue(arg0, arg1) {
|
|
const tmp = useRef(null);
|
|
if (null == tmp.current) {
|
|
const value = new importDefault(397).Value(arg0, arg1);
|
|
tmp.current = value;
|
|
}
|
|
return tmp.current;
|
|
};
|