This repository has been archived on 2025-06-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dusken-client/src/screens/EventListScreen.js
T
2017-08-11 00:01:17 +02:00

21 lines
657 B
JavaScript

import React, { Component } from 'react';
import EventListContainer from "../modules/events/EventListContainer";
import Icon from 'react-native-vector-icons/SimpleLineIcons';
export default class EventsScreen extends Component {
static navigationOptions = {
title: 'Program',
tabBarIcon: ({ tintColor }) => (
<Icon name="event" size={18} color={tintColor} style={{marginTop: 5}}/>
),
};
showEvent = (item) => {
const { navigate } = this.props.navigation;
navigate('EventDetails', {item: item})
};
render() {
return (<EventListContainer showEvent={this.showEvent}/>);
}
}