decord/source/5513_useBottomSheetInternal.js
2026-08-25 06:04:03 +00:00

21 lines
583 B
JavaScript

// Module ID: 5513
// Function ID: 5514
// Name: useBottomSheetInternal
// Dependencies: [19, 5514]
// Exports: useBottomSheetInternal
// Module 5513 (useBottomSheetInternal)
import noop from "noop" /* 19 */;
import context from "context" /* 5514 */;
const useContext = noop.useContext;
export const useBottomSheetInternal = function useBottomSheetInternal(arg0) {
const tmp = useContext(context.BottomSheetInternalContext);
if (true !== arg0) {
if (null === tmp) {
throw "'useBottomSheetInternal' cannot be used out of the BottomSheet!";
}
}
return tmp;
};