我需要使用 React Native 对 Android 上的图像组件进行模糊效果,这是可能的或者我该怎么做?
import React, { Component } from 'react';
import {
StyleSheet,
Text,
View,
Image,
} from 'react-native';
export default class Main extends Component {
render() {
return (
<View style={styles.container}>
<Image source={require('../../Images/bgImg.png')}
style={styles.imagen}
/>
</View>
);
}
}
Run Code Online (Sandbox Code Playgroud) 背景透明度与BLUR
是否可以在不使用背景图像的情况下模糊视图?我想在模态中的背景模糊视图上显示父内容.
类似的这种:

尝试使用react-native-blur:
它实际上模糊了背景图像.我想模糊并显示模态背后的内容.
尝试与react-native-overlay:但没有变化.