decord/source/__polyfill/07xxx/module_7047.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

21 lines
597 B
JavaScript

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