in src/contactCard/Summary.tsx [8:22]
export function renderSummary(
profile: IPersonaProfile,
manager: IPersonaProfile | undefined,
isManagerLoading: boolean,
onContactDetailsClick: () => void,
onOrgDetailsClick: () => void,
onPersonaClick: (profile: IPersonaProfile) => void
): React.ReactNode {
return (
<ul tabIndex={-1} className="summary">
{renderContactSummary(profile, onContactDetailsClick)}
{renderOrgSummary(manager, isManagerLoading, onOrgDetailsClick, onPersonaClick)}
</ul>
);
}