import React, { Component } from 'react' import PropTypes from 'prop-types' import AccountListItem from '../../../account-list-item/account-list-item.container' import SendDropdownList from '../../send-dropdown-list/send-dropdown-list.component' 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, }; render () { const { accounts, closeDropdown, dropdownOpen, openDropdown, selectedAccount, onSelect, } = this.props return