import React from 'react'; import type { ViewStyle, StyleProp, ColorValue } from 'react-native'; import { type BlurType } from './ReactNativeBlurViewNativeComponent'; export interface BlurViewProps { /** * @description The type of blur effect to apply * * @default 'xlight' */ blurType?: BlurType; /** * @description The intensity of the blur effect (0-100) * * @default 10 */ blurAmount?: number; /** * @description The number of blur interactions to perform for a smoother * effect (1-15) * * @default 5 * * @platform Android */ blurRounds?: number; /** * @description Fallback color when reduced transparency is enabled * * @default '#FFFFFF' * * @platform iOS */ reducedTransparencyFallbackColor?: string; /** * @description The overlay color to apply on top of the blur effect * * @default undefined */ overlayColor?: ColorValue; /** * @description style object for the blur view * * @default undefined */ style?: StyleProp; /** * @description style object for the blur view * * @default true */ ignoreSafeArea?: boolean; /** * @description Child components to render inside the blur view * * @default undefined */ children?: React.ReactNode; } /** * A cross-platform blur view component that provides native blur effects. * * On iOS, this uses UIVisualEffectView for true blur effects. * On Android, this uses the BlurView library for hardware-accelerated blur effects. * * This component automatically handles the proper positioning pattern where the blur * effect is positioned absolutely behind the content, ensuring interactive elements * work correctly. * * @example * ```tsx * * Content on top of blur *