import React from 'react'; import type { Person } from '../types'; import { LinkedInIcon } from './Icons'; interface PersonListProps { people: Person[]; } const PersonList: React.FC = ({ people }) => { return (
{people.map((person) => ( ))}
First Name Last Name LinkedIn Profile
{person.firstName} {person.lastName} View Profile
); }; export default PersonList;