// @flow import React, { Component } from 'react'; import Navigation from './components/Navigation'; import GasPriceDropdown from './components/GasPriceDropdown'; import { Link } from 'react-router'; import { Dropdown } from 'components/ui'; import { languages, NODES } from '../../config/data'; import logo from 'assets/images/logo-myetherwallet.svg'; import './index.scss'; export default class Header extends Component { props: { location: {}, languageSelection: string, nodeSelection: string, gasPriceGwei: number, changeLanguage: (sign: string) => any, changeNode: (key: string) => any, changeGasPrice: (price: number) => any }; render() { const { languageSelection, changeNode, nodeSelection } = this.props; const selectedLanguage = languages.find(l => l.sign === languageSelection) || languages[0]; const selectedNode = NODES[nodeSelection]; return (