decord/source/__polyfill/07xxx/module_7107.js
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

21 lines
625 B
JavaScript

// Module ID: 7107
// Function ID: 7108
// Dependencies: [19, 7080]
// Exports: useGestureHandlerRef
// Module 7107
import GestureHandlerRefContext from "GestureHandlerRefContext" /* 7080 */;
import noop from "module_19" /* 19 */;
require = arg1;
export const useGestureHandlerRef = function useGestureHandlerRef() {
const context = noop.useContext(GestureHandlerRefContext.GestureHandlerRefContext);
if (undefined === context) {
const _Error = Error;
const error = new Error("Couldn't find a ref for gesture handler. Are you inside a screen in Stack?");
throw error;
} else {
return context;
}
};