Files
discord-decomp/_bundle/Module5375.jsx
T
2026-11-01 12:12:55 +02:00

18 lines
816 B
React

// Metro module 5375 (f5376).
import { useMemo, memo } from "react";
import { StyleSheet } from "react-native";
import { styles } from "./Module5376";
import { BottomSheetBackground } from "./Module5377";
const r25 = memo((a0) => {
const { animatedIndex, animatedPosition } = a0;
let BackgroundComponent = a0.backgroundComponent;
const backgroundStyle = a0.backgroundStyle;
const memo = useMemo(() => StyleSheet.flatten([styles.container, backgroundStyle]), [backgroundStyle]);
if (BackgroundComponent == null) {
BackgroundComponent = BottomSheetBackground;
}
return <BackgroundComponent pointerEvents="none" animatedIndex={animatedIndex} animatedPosition={animatedPosition} style={memo} />;
});
r25.displayName = "BottomSheetBackgroundContainer";
export { r25 as BottomSheetBackgroundContainer };