import React from 'react'; import { BlurView } from 'expo-blur'; import { View, StyleSheet, ViewStyle, Platform } from 'react-native'; import { Theme } from '../constants/theme'; import { useAppTheme } from '../context/ThemeContext'; interface GlassViewProps { children: React.ReactNode; style?: ViewStyle; intensity?: number; } export const GlassView: React.FC = ({ children, style, intensity = 20 }) => { const { isDark, colors } = useAppTheme(); return ( {Platform.OS !== 'android' ? ( ) : null} {children} ); }; const styles = StyleSheet.create({ container: { borderRadius: Theme.radius.lg, overflow: 'hidden', borderWidth: 1, }, });