2026-08-08 06:10:11 +00:00
|
|
|
// Module ID: 5407
|
|
|
|
|
// Function ID: 5408
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useBottomSheetInternal
|
2026-08-08 06:10:11 +00:00
|
|
|
// Dependencies: [19, 5408]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useBottomSheetInternal
|
|
|
|
|
|
2026-08-08 06:10:11 +00:00
|
|
|
// Module 5407 (useBottomSheetInternal)
|
2026-07-29 08:29:29 +00:00
|
|
|
import { useContext } from "noop";
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const useBottomSheetInternal = function useBottomSheetInternal(arg0) {
|
2026-08-08 06:10:11 +00:00
|
|
|
const tmp = useContext(require(5408) /* context */.BottomSheetInternalContext);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (true !== arg0) {
|
|
|
|
|
if (null === tmp) {
|
|
|
|
|
throw "'useBottomSheetInternal' cannot be used out of the BottomSheet!";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
};
|