create-nova-expo-template
Version:
A template for creating a new React Native app using Expo and TypeScript, with a focus on performance and best practices.
21 lines (19 loc) • 503 B
text/typescript
import { ReactNode } from "react";
import { ViewStyle } from "react-native";
export interface ScreenWrapperProps {
children: ReactNode;
paddingSize?: "sm" | "md";
justifyContent?:
| "space-between"
| "flex-start"
| "center"
| "flex-end"
| "space-around"
| "space-evenly";
style?: ViewStyle;
hasNoHorizontalSpacing?: boolean;
isStatusBarShown?: boolean;
hasNoKeyboardVerticalOffset?: boolean;
showHeader?: boolean;
isScrollable?: boolean;
}