18 lines
538 B
JavaScript
18 lines
538 B
JavaScript
// Module ID: 4973
|
|
// Function ID: 42727
|
|
// Name: useBottomSheetInternal
|
|
// Dependencies: []
|
|
// Exports: useBottomSheetInternal
|
|
|
|
// Module 4973 (useBottomSheetInternal)
|
|
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;
|
|
};
|