32 lines
1.2 KiB
JavaScript
32 lines
1.2 KiB
JavaScript
// Module ID: 5093
|
|
// Function ID: 43403
|
|
// Name: BottomSheetBackgroundContainer
|
|
// Dependencies: []
|
|
|
|
// Module 5093 (BottomSheetBackgroundContainer)
|
|
const _module = require(dependencyMap[0]);
|
|
const useMemo = _module.useMemo;
|
|
importDefault(dependencyMap[0]);
|
|
const StyleSheet = require(dependencyMap[1]).StyleSheet;
|
|
const jsx = require(dependencyMap[2]).jsx;
|
|
const memoResult = _module.memo(function BottomSheetBackgroundContainerComponent(arg0) {
|
|
let animatedIndex;
|
|
let animatedPosition;
|
|
let backgroundComponent;
|
|
let backgroundStyle;
|
|
({ backgroundComponent, backgroundStyle } = arg0);
|
|
const require = backgroundStyle;
|
|
const items = [backgroundStyle];
|
|
({ animatedIndex, animatedPosition } = arg0);
|
|
const style = useMemo(() => {
|
|
const items = [backgroundStyle(closure_1[3]).styles.container, backgroundStyle];
|
|
return closure_3.flatten(items);
|
|
}, items);
|
|
if (null == backgroundComponent) {
|
|
backgroundComponent = require(dependencyMap[4]).BottomSheetBackground;
|
|
}
|
|
return <backgroundComponent pointerEvents="none" animatedIndex={animatedIndex} animatedPosition={animatedPosition} style={style} />;
|
|
});
|
|
memoResult.displayName = "BottomSheetBackgroundContainer";
|
|
|
|
export const BottomSheetBackgroundContainer = memoResult;
|