decord/source/6998_useBottomSheetInternal.js
2026-08-24 06:08:38 +00:00

21 lines
583 B
JavaScript

// Module ID: 6998
// Function ID: 6999
// Name: useBottomSheetInternal
// Dependencies: [19, 6999]
// Exports: useBottomSheetInternal
// Module 6998 (useBottomSheetInternal)
import noop from "noop" /* 19 */;
import context from "context" /* 6999 */;
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;
};