score:1

Accepted answer
  {Members.map(m => (
    <Menu
      key={m.username}
    >
      <Menu.Item onClick={() => { // use onClick here
        console.log(m.username)
      }}>
        <ul>
          <li>
            {m.firstName} {m.lastName}
          </li>
          <li>
            {m.username}
          </li>
        </ul>
      </Menu.Item>
    </Menu>
  ))}

Related Query

More Query from same tag