mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 10:12:01 +01:00
40 lines
912 B
JavaScript
40 lines
912 B
JavaScript
import React from 'react';
|
|
import { StyleSheet, View } from 'react-native';
|
|
import { Icon } from 'react-native-elements';
|
|
import { useTheme } from '../themes';
|
|
|
|
const styles = StyleSheet.create({
|
|
boxIncoming: {
|
|
position: 'relative',
|
|
},
|
|
ballOutgoingExpired: {
|
|
width: 30,
|
|
height: 30,
|
|
borderRadius: 15,
|
|
justifyContent: 'center',
|
|
},
|
|
icon: {
|
|
left: 0,
|
|
top: 0,
|
|
},
|
|
});
|
|
|
|
const TransactionExpiredIcon = props => {
|
|
const { colors } = useTheme();
|
|
const stylesHooks = StyleSheet.create({
|
|
ballOutgoingExpired: {
|
|
backgroundColor: colors.ballOutgoingExpired,
|
|
},
|
|
});
|
|
|
|
return (
|
|
<View style={styles.boxIncoming}>
|
|
<View style={[styles.ballOutgoingExpired, stylesHooks.ballOutgoingExpired]}>
|
|
<Icon name="clock" size={16} type="octicon" color="#9AA0AA" iconStyle={styles.icon} />
|
|
</View>
|
|
</View>
|
|
);
|
|
};
|
|
|
|
export default TransactionExpiredIcon;
|