Add PageContainer

This commit is contained in:
thesn10
2026-07-03 12:58:06 +02:00
parent cad79664c3
commit d98a045703

View File

@@ -0,0 +1,16 @@
import type { JSX, ReactNode } from "react";
import { View } from "react-native";
import { twMerge } from "tailwind-merge";
interface PageContainerProps {
children: ReactNode;
className?: string;
}
export function PageContainer({ children, className }: PageContainerProps): JSX.Element {
return (
<View className={twMerge("w-full self-center px-4 md:px-8 lg:max-w-[1320px] lg:px-12", className)}>
{children}
</View>
);
}