// @ts-ignore import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent'; import type { HostComponent, ViewProps } from 'react-native'; // @ts-ignore import type { WithDefault, Float, Int32 } from 'react-native/Libraries/Types/CodegenTypes'; interface NativeProps extends ViewProps { blurAmount?: WithDefault; blurType?: string; overlayColor?: string; reducedTransparencyFallbackColor?: string; blurRadius?: WithDefault; enabled?: WithDefault; progressiveBlurDirection?: WithDefault; progressiveStartIntensity?: WithDefault; progressiveEndIntensity?: WithDefault; noiseFactor?: WithDefault; } const COMPONENT_NAME = 'BlurVibeView'; const globalRef = globalThis as unknown as { __reactNativeBlurVibeComponents?: Record; }; if (!globalRef.__reactNativeBlurVibeComponents) { globalRef.__reactNativeBlurVibeComponents = {}; } const cache = globalRef.__reactNativeBlurVibeComponents; const NativeBlurVibeView: HostComponent = (cache[COMPONENT_NAME] as HostComponent | undefined) ?? (cache[COMPONENT_NAME] = codegenNativeComponent( COMPONENT_NAME ) as HostComponent); export default NativeBlurVibeView;