BlueWallet/components/icons/TransactionPendingIcon.tsx

40 lines
880 B
TypeScript
Raw Normal View History

2022-01-28 14:13:53 +03:00
import React from 'react';
2024-08-27 21:43:54 -04:00
import { StyleSheet, View, ViewStyle } from 'react-native';
2024-06-12 12:46:44 -04:00
import { Icon } from '@rneui/themed';
2024-05-20 10:54:13 +01:00
2023-10-23 21:28:44 -04:00
import { useTheme } from '../themes';
2022-01-28 14:13:53 +03:00
const styles = StyleSheet.create({
boxIncoming: {
position: 'relative',
2024-08-27 21:43:54 -04:00
} as ViewStyle,
2022-01-28 14:13:53 +03:00
ball: {
width: 30,
height: 30,
borderRadius: 15,
2024-08-27 21:43:54 -04:00
} as ViewStyle,
2022-01-28 14:13:53 +03:00
icon: {
left: 0,
top: 7,
},
});
2024-08-27 21:43:54 -04:00
const TransactionPendingIcon: React.FC = () => {
2022-01-28 14:13:53 +03:00
const { colors } = useTheme();
const stylesHook = StyleSheet.create({
ball: {
backgroundColor: colors.buttonBackgroundColor,
},
});
return (
<View style={styles.boxIncoming}>
<View style={[styles.ball, stylesHook.ball]}>
2022-06-19 17:17:33 +01:00
<Icon name="more-horiz" type="material" size={16} color={colors.foregroundColor} iconStyle={styles.icon} />
2022-01-28 14:13:53 +03:00
</View>
</View>
);
};
export default TransactionPendingIcon;