Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4907.js (118.4 MB)
19 lines
457 B
JavaScript
19 lines
457 B
JavaScript
// Module ID: 6826
|
|
// Function ID: 6827
|
|
// Dependencies: [19, 6827]
|
|
// Exports: useBottomSheet
|
|
|
|
// Module 6826
|
|
import _mod19 from "module_19" /* 19 */;
|
|
import _mod6827 from "module_6827" /* 6827 */;
|
|
|
|
const useContext = _mod19.useContext;
|
|
|
|
export const useBottomSheet = () => {
|
|
const tmp = useContext(_mod6827.BottomSheetContext);
|
|
if (null === tmp) {
|
|
throw "'useBottomSheet' cannot be used out of the BottomSheet!";
|
|
} else {
|
|
return tmp;
|
|
}
|
|
};
|