first commit
This commit is contained in:
10
node_modules/framer-motion/dist/es/animation/animate/single-value.mjs
generated
vendored
Normal file
10
node_modules/framer-motion/dist/es/animation/animate/single-value.mjs
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { isMotionValue, motionValue } from 'motion-dom';
|
||||
import { animateMotionValue } from '../interfaces/motion-value.mjs';
|
||||
|
||||
function animateSingleValue(value, keyframes, options) {
|
||||
const motionValue$1 = isMotionValue(value) ? value : motionValue(value);
|
||||
motionValue$1.start(animateMotionValue("", motionValue$1, keyframes, options));
|
||||
return motionValue$1.animation;
|
||||
}
|
||||
|
||||
export { animateSingleValue };
|
||||
Reference in New Issue
Block a user