import React, { Component, PropTypes } from 'react' const MapLink = props => { const { show, linkText, href, linkClass, ...otherProps } = props if (!show) { return null } return ( {linkText} ) } class Header extends Component { render = () => { const { signedIn, section } = this.props const activeClass = (title) => { let forClass = "exploreMapsButton" forClass += " " + title + "Maps" if (title == "my" && section == "mine" || title == section) forClass += " active" return forClass } const explore = section == "mine" || section == "active" || section == "shared" || section == "featured" const mapper = section == "mapper" const apps = section == "registered" || section == "authorized" return (