import React, { Component } from 'react' import PropTypes from 'prop-types' import AccountListItem from '../../../account-list-item/account-list-item.container' export default class FromDropdown extends Component { static propTypes = { accounts: PropTypes.array, closeDropdown: PropTypes.func, dropdownOpen: PropTypes.bool, onSelect: PropTypes.func, openDropdown: PropTypes.func, selectedAccount: PropTypes.object, }; renderListItemIcon (icon, color) { return } getListItemIcon (currentAccount, selectedAccount) { return currentAccount.address === selectedAccount.address ? this.renderListItemIcon('fa-check', '#02c9b1') : null } renderDropdown () { const { accounts, selectedAccount, closeDropdown, onSelect, } = this.props return (