// @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 (
{/* TODO - don't hardcode image path*/} MyEtherWallet
Open-Source & Client-Side Ether Wallet ยท v3.6.0     o.name} value={languageSelection} extra={[
  • ,
  • Disclaimer
  • ]} onChange={changeLanguage} />     [ o.name, ' ', ({o.service}) ]} value={nodeSelection} extra={
  • {}}> Add Custom Node
  • } onChange={changeNode} />
    ); } }