decord/source/1803_useAnimatedPropsJS.js

19 lines
525 B
JavaScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 1803
// Function ID: 1804
2026-07-20 16:05:17 +00:00
// Name: useAnimatedPropsJS
2026-08-15 05:55:55 +00:00
// Dependencies: [1804, 1657]
2026-07-20 16:05:17 +00:00
2026-08-15 05:55:55 +00:00
// Module 1803 (useAnimatedPropsJS)
2026-08-24 06:08:38 +00:00
import checkSharedValueUsage from "checkSharedValueUsage" /* 1804 */;
import isJest from "isJest" /* 1657 */;
2026-07-23 10:11:24 +00:00
if (isJest.shouldBeUseWeb()) {
2026-07-20 16:05:17 +00:00
function useAnimatedPropsJS(fn, items) {
2026-08-24 06:08:38 +00:00
return checkSharedValueUsage.useAnimatedStyle(fn, items, arg2, true);
2026-07-20 16:05:17 +00:00
}
} else {
2026-08-24 06:08:38 +00:00
useAnimatedPropsJS = checkSharedValueUsage.useAnimatedStyle;
2026-07-20 16:05:17 +00:00
}
export const useAnimatedProps = useAnimatedPropsJS;