2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 5513
|
|
|
|
|
// Function ID: 5514
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useBottomSheetInternal
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [19, 5514]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useBottomSheetInternal
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 5513 (useBottomSheetInternal)
|
2026-08-24 06:08:38 +00:00
|
|
|
import noop from "noop" /* 19 */;
|
2026-08-25 06:04:03 +00:00
|
|
|
import context from "context" /* 5514 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const useContext = noop.useContext;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const useBottomSheetInternal = function useBottomSheetInternal(arg0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const tmp = useContext(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;
|
|
|
|
|
};
|