function NameList() { const names = ['Bruce', 'Clark', 'Diana'] return ( <div> {names.map(name => <h2>{name}</h2>)} </div> ) }