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.
Mobile/components/ui/Screen.tsx

14 lines
392 B

import React from "react";
import { View, ViewProps } from "react-native";
import { SafeAreaView } from "react-native-safe-area-context";
export default React.forwardRef<any, ViewProps>(
({ children, ...props }, ref): React.ReactElement => {
return (
<SafeAreaView className={"h-full p-4"} {...ref} {...props}>
<View>{children}</View>
</SafeAreaView>
);
}
);