24 lines
1.4 KiB
JavaScript
24 lines
1.4 KiB
JavaScript
/* Metro module 6285; source: unknown; dependencies: [31, 6286] */
|
|
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as BottomSheetInternalModule from './module-06286-BottomSheetInternal.js'; /* Metro dependency 6286 */
|
|
|
|
function _fun49652(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49652, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6463:6, offset: 0x012035b5, size: 87 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.useBottomSheetInternal = useBottomSheetInternal;
|
|
function useBottomSheetInternal(a0) { // fn#49653, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6463:142, offset: 0x0120360c, size: 65 bytes, params: 2, frame: 12
|
|
const BottomSheetInternalContext = (BottomSheetInternalModule).BottomSheetInternalContext;
|
|
const value = useContext(BottomSheetInternalContext);
|
|
if (a0 !== true) {
|
|
if (value === null) {
|
|
throw "'useBottomSheetInternal' cannot be used out of the BottomSheet!";
|
|
}
|
|
}
|
|
return value;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun49652, 6285, [31, 6286]) /* metro module 6285, dependencies: [31, 6286] */;
|