@danielsaraldi/react-native-blur-view
Version:
A simple blur view in react native
18 lines (15 loc) • 582 B
text/typescript
import type { ColorValue, ViewProps } from 'react-native';
import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
import type {
Float,
WithDefault,
} from 'react-native/Libraries/Types/CodegenTypes';
export interface NativeProps extends ViewProps {
overlayColor?: WithDefault<string, 'light'>;
effectStyle?: WithDefault<string, 'label'>;
radius?: WithDefault<Float, 10.0>;
reducedTransparencyFallbackColor?: ColorValue;
}
export default codegenNativeComponent<NativeProps>('VibrancyView', {
excludedPlatforms: ['android'],
});