import logo from './logo.svg'; import './App.css'; function App() { let employees = [ {id: 1, name: "Csendes Pál", salary: 435}, {id: 2, name: "Erős István", salary: 397}, {id: 3, name: "Látó Gábor", salary: 374} ] return (
{employees.map( employee => { return ( ) })}
# Név Fizetés
{employee.id} {employee.name} {employee.salary}
); } export default App;