// @flow import React, { Component } from 'react'; import TabsOptions from './components/TabsOptions'; import { Link } from 'react-router'; import { Dropdown } from 'components/ui'; import { languages, NODES } from '../../config/data'; export default class Header extends Component { props: { languageSelection: string, nodeSelection: string, changeLanguage: (sign: string) => any, changeNode: (key: string) => any }; render() { const { languageSelection, changeNode, nodeSelection } = this.props; const selectedLanguage = languages.find(l => l.sign === languageSelection) || languages[0]; const selectedNode = NODES[nodeSelection]; return (