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/beasy_background.png")}
				resizeMode="cover"
				style={images.cover}
			>
				{children}
			</ImageBackground>
		</View>
	);
};

export default BackgroundGreenWhiteContentArea;
