// @flow import React, { Component } from 'react'; import PropTypes from 'prop-types'; import TabsOptions from './components/TabsOptions'; import { Link } from 'react-router'; import Dropdown from '../ui/Dropdown'; import { languages, nodeList } from '../../config/data'; export default class Header extends Component { static propTypes = { location: PropTypes.object, // Language DropDown changeLanguage: PropTypes.func, languageSelection: PropTypes.object, // Node Dropdown changeNode: PropTypes.func, nodeSelection: PropTypes.object }; render() { const { languageSelection, changeLanguage, changeNode, nodeSelection } = this.props; return (