Files
discord-decomp/_bundle/Module5359.js
T
2026-11-01 12:12:55 +02:00

11 lines
385 B
JavaScript

// Metro module 5359 (f5360).
import { useContext } from "react";
import { BottomSheetGestureHandlersContext } from "./Module5257";
export const useBottomSheetGestureHandlers = () => {
const context = useContext(BottomSheetGestureHandlersContext);
if (context === null) {
throw "'useBottomSheetGestureHandlers' cannot be used out of the BottomSheet!";
}
return context;
};