Files
discord-decomp/sources/by-id/module-06325-BottomSheetBackgroundContainer.jsx
T
2026-07-28 01:06:53 +03:00

30 lines
1.9 KiB
React

/* Metro module 6325; source: unknown; dependencies: [31, 27, 33, 6326, 6327] */
import React from './module-00031-React.js'; /* Metro dependency 31 */
import * as ReactNativeModule from './module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */
function _fun49782(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#49782, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6503:6, offset: 0x01208146, size: 161 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = ReactModule;
const memo = value.memo;
const env0_2 = value.useMemo;
React;
value = memo(BottomSheetBackgroundContainerComponent);
value.displayName = 'BottomSheetBackgroundContainer';
exports.BottomSheetBackgroundContainer = value;
function BottomSheetBackgroundContainerComponent({animatedIndex, animatedPosition, backgroundComponent, backgroundStyle}) { // fn#49783, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6503:177, offset: 0x012081e7, size: 130 bytes, params: 2, frame: 18
return ((Component) => <Component pointerEvents="none" animatedIndex={animatedIndex} animatedPosition={animatedPosition} style={useMemo(function() {
var items = [require(dependencyMap[3]).styles.container];
items[1] = backgroundStyle;
return StyleSheet.flatten(items);
}, [backgroundStyle])} />)(backgroundComponent ?? (require(6327) /* metro dependency 6327 */).BottomSheetBackground);
}
}
global.__d(_fun49782, 6325, [31, 27, 33, 6326,
6327]) /* metro module 6325, dependencies: [31, 27, 33, 6326, 6327] */;