import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import type { ViewProps, HostComponent, ColorValue } from 'react-native'; import type { WithDefault, Int32, } from 'react-native/Libraries/Types/CodegenTypes'; interface NativeProps extends ViewProps { blurAmount?: WithDefault; blurType?: WithDefault<'dark' | 'light' | 'xlight', 'dark'>; blurRadius?: Int32; downsampleFactor?: Int32; overlayColor?: ColorValue; enabled?: boolean; autoUpdate?: boolean; } export default codegenNativeComponent('AndroidBlurView', { excludedPlatforms: ['iOS'], }) as HostComponent;