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/EventDetailsScreen.js
T
2017-07-27 19:42:22 +02:00

13 lines
413 B
JavaScript

import React, { Component } from 'react';
import EventDetails from "../modules/events/EventDetails";
export default class EventDetailsScreen extends Component {
static navigationOptions = ({navigation}) => ({
title: navigation.state.params.item.title.decoded,
});
render() {
const { params } = this.props.navigation.state;
return (<EventDetails item={params.item}/>);
}
}