interface CardProps { heading?: string, step?: string, content: JSX.Element, } function Card(props: CardProps): JSX.Element { return (
{ props.step &&

{props.step}

{props.heading}
}
{props.content}
) } export default Card;