Színkorrekciók
This commit is contained in:
1 parent
34a6df5949
commit
a1ff3beb35
471 files changed
+63615
-6
No files matched your search
+12
@@ -0,0 +1,12 @@
|
||||
import { isMotionValue } from 'motion-dom';
|
||||
|
||||
/**
|
||||
* If the provided value is a MotionValue, this returns the actual value, otherwise just the value itself
|
||||
*
|
||||
* TODO: Remove and move to library
|
||||
*/
|
||||
function resolveMotionValue(value) {
|
||||
return isMotionValue(value) ? value.get() : value;
|
||||
}
|
||||
|
||||
export { resolveMotionValue };
|
||||
Reference in new issue
Block a user