Archived
13 lines
413 B
JavaScript
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}/>);
|
|
}
|
|
} |