decord/source/4974_useBottomSheetInternal.js

19 lines
538 B
JavaScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 4974
// Function ID: 42720
2026-07-20 16:05:17 +00:00
// Name: useBottomSheetInternal
// Dependencies: []
// Exports: useBottomSheetInternal
2026-07-21 06:55:02 +00:00
// Module 4974 (useBottomSheetInternal)
2026-07-20 16:05:17 +00:00
const useContext = require(dependencyMap[0]).useContext;
export const useBottomSheetInternal = function useBottomSheetInternal(arg0) {
const tmp = useContext(require(dependencyMap[1]).BottomSheetInternalContext);
if (true !== arg0) {
if (null === tmp) {
throw "'useBottomSheetInternal' cannot be used out of the BottomSheet!";
}
}
return tmp;
};