17 lines
318 B
TypeScript
17 lines
318 B
TypeScript
import { cn } from "@/lib/utils";
|
|
import { SafeAreaView } from "react-native-safe-area-context";
|
|
|
|
export const Container = ({
|
|
children,
|
|
className,
|
|
}: {
|
|
children: React.ReactNode;
|
|
className?: string;
|
|
}) => {
|
|
return (
|
|
<SafeAreaView className={cn("flex flex-1", className)}>
|
|
{children}
|
|
</SafeAreaView>
|
|
);
|
|
};
|