decord/source/5577_useCardAnimation.js

21 lines
502 B
JavaScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 5577
2026-07-27 11:26:19 +00:00
// Function ID: 47397
2026-07-20 16:05:17 +00:00
// Name: useCardAnimation
2026-07-24 07:16:23 +00:00
// Dependencies: [31, 5567]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-24 07:16:23 +00:00
// Module 5577 (useCardAnimation)
2026-07-23 10:11:24 +00:00
import result from "result";
2026-07-20 16:05:17 +00:00
export default function useCardAnimation() {
2026-07-24 07:16:23 +00:00
const context = React.useContext(importDefault(5567));
2026-07-20 16:05:17 +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;
}
};