Mission Control Dashboard - Initial implementation
This commit is contained in:
12
node_modules/framer-motion/dist/es/value/use-time.mjs
generated
vendored
Normal file
12
node_modules/framer-motion/dist/es/value/use-time.mjs
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
"use client";
|
||||
import { useAnimationFrame } from '../utils/use-animation-frame.mjs';
|
||||
import { useMotionValue } from './use-motion-value.mjs';
|
||||
|
||||
function useTime() {
|
||||
const time = useMotionValue(0);
|
||||
useAnimationFrame((t) => time.set(t));
|
||||
return time;
|
||||
}
|
||||
|
||||
export { useTime };
|
||||
//# sourceMappingURL=use-time.mjs.map
|
||||
Reference in New Issue
Block a user