import React from "react"; import { Image } from "./Image"; import styles from "./TeamMemberCard.module.css"; interface TeamMemberCardProps { name: string; role: string; image?: string; // path to image of person, relative to public directory children: React.ReactNode; } export function TeamMemberCard(props: TeamMemberCardProps) { return (
{`Picture

{props.name}

{props.role}

{props.children}
); }