Files
create-better-t-stack/apps/cli/templates/frontend/native/nativewind/components/container.tsx

9 lines
245 B
TypeScript

import React from "react";
import { SafeAreaView } from "react-native";
export const Container = ({ children }: { children: React.ReactNode }) => {
return (
<SafeAreaView className="flex-1 bg-background">{children}</SafeAreaView>
);
};