mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
19 lines
697 B
TypeScript
19 lines
697 B
TypeScript
import React from 'react';
|
|
import { ImageBackground, StyleSheet, View } from 'react-native';
|
|
import { Icon } from 'react-native-elements';
|
|
|
|
export const BlurredBalanceView = () => {
|
|
return (
|
|
<View style={styles.container}>
|
|
{/* @ts-ignore: We just want the blur effect. No source prop needed */}
|
|
<ImageBackground blurRadius={6} style={styles.background} />
|
|
<Icon name="eye-slash" type="font-awesome" color="#FFFFFF" />
|
|
</View>
|
|
);
|
|
};
|
|
|
|
const styles = StyleSheet.create({
|
|
container: { flexDirection: 'row', alignItems: 'center', borderRadius: 9 },
|
|
background: { backgroundColor: '#FFFFFF', opacity: 0.5, height: 30, width: 110, marginRight: 8, borderRadius: 9 },
|
|
});
|