import React from 'react'; export default class Navigation extends React.Component { constructor(props) { super(props); this.state = { visitor: {uid: 0} } this.transition = this.transition.bind(this); } transition(event) { event.preventDefault(); this.props.onNavigate({ pathname: event.currentTarget.pathname, search: event.currentTarget.search}); }; render() { return (
) } }