export type MemberCardProps = { id: string icon: string name: string groups: string[] } export function MemberCard( { id, icon, name, groups }: MemberCardProps, ) { return (

{name}

{groups.map((group) => {group})}
) }