diff --git a/src/components/Layout/index.tsx b/src/components/Layout/index.tsx index d08505fbfd..27456bb8bf 100644 --- a/src/components/Layout/index.tsx +++ b/src/components/Layout/index.tsx @@ -21,6 +21,7 @@ export * as Header from '#/components/Layout/Header' export type ScreenProps = React.ComponentProps & { style?: StyleProp + noPaddingTop?: boolean } /** @@ -28,6 +29,7 @@ export type ScreenProps = React.ComponentProps & { */ export const Screen = React.memo(function Screen({ style, + noPaddingTop, ...props }: ScreenProps) { const {top} = useSafeAreaInsets() @@ -35,7 +37,11 @@ export const Screen = React.memo(function Screen({ <> {isWeb && }