mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 22:49:45 +01:00
cleanup and refactor
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user