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