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