import employees from '../employees.json'; const EmployeeList = () => { return ( {employees.map( (emp, index) => ( ))}
Id Név Település Fizetés
{emp.id} {emp.name} {emp.city} {emp.salary}
) } export default EmployeeList