import { ParallaxScrollView } from '@/components/ui/parallax-scrollview'; import { Text } from '@/components/ui/text'; import { View } from '@/components/ui/view'; import { Image } from 'expo-image'; import { LinearGradient } from 'expo-linear-gradient'; import React from 'react'; export function ParallaxScrollViewGradient() { return ( Scenic Mountain View } > Gradient Overlay Header This example shows how to add a gradient overlay to your header image, which is perfect for ensuring text readability over images. The gradient creates a smooth transition from the image to a darker overlay at the bottom, where you can place text or other UI elements. This technique is commonly used in hero sections, article headers, and profile screens where you need to overlay content on images. The parallax effect works seamlessly with gradient overlays and maintains smooth performance even with multiple layers. ); }