import { SafeAreaInsets } from './type'; /** * Produces the root style block for the SafeAreaContainer. Padding is * driven entirely by the insets so the wrapper is a straight port of * the legacy aldenui behavior: * paddingTop = insets.top * paddingBottom = 0 (match the original — bottom is intentionally ignored) * paddingLeft = insets.left * paddingRight = insets.right */ export const getSafeAreaContainerStyles = ({ insets }: { insets: SafeAreaInsets }) => { return { paddingTop: insets.top ?? 0, paddingBottom: 0, paddingLeft: insets.left ?? 0, paddingRight: insets.right ?? 0, flex: 1, }; };