2022-01-28 14:13:53 +03:00
|
|
|
import React from 'react';
|
|
|
|
import { StyleSheet, View } from 'react-native';
|
|
|
|
import { Icon } from 'react-native-elements';
|
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',
|
|
|
|
},
|
|
|
|
ball: {
|
|
|
|
width: 30,
|
|
|
|
height: 30,
|
|
|
|
borderRadius: 15,
|
|
|
|
},
|
|
|
|
icon: {
|
|
|
|
left: 0,
|
|
|
|
top: 7,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
const TransactionPendingIcon = props => {
|
|
|
|
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;
|