- Reorg andf cleanup. Maintainability.

This commit is contained in:
2019-08-09 02:52:31 -04:00
parent e6a4eeaeb1
commit 0f618fdd78
13 changed files with 16 additions and 38 deletions

View File

@@ -5,7 +5,7 @@ import { TouchableOpacity } from 'react-native';
import { Icon } from 'react-native-elements';
export default function EventsIcon({ action }) {
const renderEventsIcon = () => <Icon name="ei-calendar" type="evilicons" size={28} />;
const renderEventsIcon = () => <Icon name="calendar" type="evilicon" size={28} />;
if (action) {
return <TouchableOpacity onPress={action}>{renderEventsIcon()}</TouchableOpacity>;