import { containers, images } from "@styles/Commons";
import { ImageBackground, View } from "react-native";

type Props = { children: React.ReactNode };

const BackgroundGreenWhiteContentArea = ({ children }: Props) => {
	return (
		<View style={containers.containerFull}>
			<ImageBackground
				source={require("../../../assets/background_content_white2.png")}
				resizeMode="cover"
				style={images.cover}
			>
				{children}
			</ImageBackground>
		</View>
	);
};

export default BackgroundGreenWhiteContentArea;
