decord/source/5678_useBottomSheetGestureHandlers.js

21 lines
591 B
JavaScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 5678
// Function ID: 5679
2026-08-24 06:08:38 +00:00
// Name: useBottomSheetGestureHandlers
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 5517]
2026-08-24 06:08:38 +00:00
// Exports: useBottomSheetGestureHandlers
2026-08-25 06:04:03 +00:00
// Module 5678 (useBottomSheetGestureHandlers)
2026-08-24 06:08:38 +00:00
import noop from "noop" /* 19 */;
2026-08-25 06:04:03 +00:00
import createContext from "createContext" /* 5517 */;
2026-08-24 06:08:38 +00:00
const useContext = noop.useContext;
export const useBottomSheetGestureHandlers = () => {
const tmp = useContext(createContext.BottomSheetGestureHandlersContext);
if (null === tmp) {
throw "'useBottomSheetGestureHandlers' cannot be used out of the BottomSheet!";
} else {
return tmp;
}
};