You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
349 B
14 lines
349 B
import { PropsWithChildren } from "react";
|
|
import { View } from "react-native";
|
|
import { SafeAreaView } from "react-native-safe-area-context";
|
|
|
|
type props = PropsWithChildren;
|
|
|
|
export default function Screen({ children }: props) {
|
|
return (
|
|
<SafeAreaView>
|
|
<View className={"h-full pl-2 pr-2"}>{children}</View>
|
|
</SafeAreaView>
|
|
);
|
|
}
|