decord/source/7022_useBottomSheetGestureHandlers.js
2026-08-24 06:08:38 +00:00

20 lines
591 B
JavaScript

// Module ID: 7022
// Function ID: 7023
// Name: useBottomSheetGestureHandlers
// Dependencies: [19, 7002]
// Exports: useBottomSheetGestureHandlers
// Module 7022 (useBottomSheetGestureHandlers)
import noop from "noop" /* 19 */;
import createContext from "createContext" /* 7002 */;
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;
}
};