decord/source/6543_useCardAnimation.js

22 lines
587 B
JavaScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 6543
// Function ID: 6544
2026-08-06 08:05:19 +00:00
// Name: useCardAnimation
2026-08-15 05:55:55 +00:00
// Dependencies: [19, 6537]
2026-08-06 08:05:19 +00:00
// Exports: useCardAnimation
2026-08-15 05:55:55 +00:00
// Module 6543 (useCardAnimation)
2026-08-06 08:05:19 +00:00
import noop from "noop";
const require = arg1;
export const useCardAnimation = function useCardAnimation() {
2026-08-15 05:55:55 +00:00
const context = React.useContext(require(6537) /* CardAnimationContext */.CardAnimationContext);
2026-08-06 08:05:19 +00:00
if (undefined === context) {
const _Error = Error;
const error = new Error("Couldn't find values for card animation. Are you inside a screen in Stack?");
throw error;
} else {
return context;
}
};