{/* Mobile Header - iOS/Android style */}
{showHeader && header && (
)}
{/* Main Content - Native scrolling with pull-to-refresh */}
0 ? `translateY(${pullDistance}px)` : undefined,
transition: isDraggingRef.current ? 'none' : 'transform 0.3s ease-out'
}}
>
{/* Pull-to-refresh indicator */}
{enablePullToRefresh && (
0 ? 'translate-y-0' : '-translate-y-full'
)}
>
{isRefreshing ? (
<>
Refreshing...
>
) : (
<>
{isPulling ? 'Release to refresh' : 'Pull to refresh'}
>
)}
)}
{/* Content with top padding for pull indicator */}
{children}
{/* Footer (optional) */}
{showFooter && footer && (
)}
{/* Native-style Bottom Navigation */}
{showBottomNav && bottomNavItems.length > 0 && (
)}
{/* Custom Bottom Navigation (legacy support) */}
{bottomNav && !showBottomNav && (
)}
);
}