17 lines
563 B
JavaScript
17 lines
563 B
JavaScript
// Module ID: 5079
|
|
// Function ID: 43386
|
|
// Name: useBottomSheetGestureHandlers
|
|
// Dependencies: []
|
|
// Exports: useBottomSheetGestureHandlers
|
|
|
|
// Module 5079 (useBottomSheetGestureHandlers)
|
|
const useContext = require(dependencyMap[0]).useContext;
|
|
|
|
export const useBottomSheetGestureHandlers = function useBottomSheetGestureHandlers() {
|
|
const tmp = useContext(require(dependencyMap[1]).BottomSheetGestureHandlersContext);
|
|
if (null === tmp) {
|
|
throw "'useBottomSheetGestureHandlers' cannot be used out of the BottomSheet!";
|
|
} else {
|
|
return tmp;
|
|
}
|
|
};
|