import React, { Component } from 'react' import PropTypes from 'prop-types' import onClickOutsideAddon from 'react-onclickoutside' class AccountMenu extends Component { static propTypes = { currentUser: PropTypes.object, onInviteClick: PropTypes.func, closeBox: PropTypes.func } handleClickOutside = () => { this.props.closeBox() } render () { const { currentUser, onInviteClick } = this.props return

{currentUser.get('name')}

} } export default onClickOutsideAddon(AccountMenu)