cleanup and refactor

This commit is contained in:
ammarahm-ed
2020-10-13 17:02:14 +05:00
parent cbb9249781
commit 4e9d71a969
96 changed files with 1974 additions and 2285 deletions

View File

@@ -1,8 +1,8 @@
import React from 'react';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import {SIZE} from '../../common/common';
import {useTracked} from '../../provider';
import {PressableButton} from '../PressableButton';
import {SIZE} from "../../utils/SizeUtils";
export const ActionIcon = ({
onPress,
@@ -34,6 +34,7 @@ export const ActionIcon = ({
alignItems: 'center',
borderRadius: 100,
...customStyle,
}}>
<Icon name={name} style={iconStyle} color={color} size={size} />
</PressableButton>