Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
21 lines
597 B
JavaScript
21 lines
597 B
JavaScript
// Module ID: 7136
|
|
// Function ID: 7137
|
|
// Dependencies: [19, 7130]
|
|
// Exports: useCardAnimation
|
|
|
|
// Module 7136
|
|
import CardAnimationContext from "CardAnimationContext" /* 7130 */;
|
|
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;
|
|
}
|
|
};
|