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

15 lines
415 B

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