import React from 'react';
import PropTypes from 'prop-types';
import { TouchableOpacity } from 'react-native';
import { Icon } from 'react-native-elements';
export default function EventsIcon({ action }) {
const renderEventsIcon = () => ;
if (action) {
return {renderEventsIcon()};
}
return renderEventsIcon();
}
EventsIcon.propTypes = {
action: PropTypes.func,
};
EventsIcon.defaultProps = {
action: null,
};