decord/source/5855_useCardAnimation.js
2026-08-12 06:57:52 +00:00

21 lines
587 B
JavaScript

// Module ID: 5855
// Function ID: 5856
// Name: useCardAnimation
// Dependencies: [19, 5849]
// Exports: useCardAnimation
// Module 5855 (useCardAnimation)
import noop from "noop";
const require = arg1;
export const useCardAnimation = function useCardAnimation() {
const context = React.useContext(require(5849) /* CardAnimationContext */.CardAnimationContext);
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;
}
};