import s from './style.module.css' interface Card { heading: string description: string url: string eyebrow: string } interface CardListProps { title: string cards: Card[] className?: string } export default function CardList({ title, cards, className }: CardListProps) { return (

{title}

{cards.map(({ heading, description, url, eyebrow }) => (
{eyebrow} {heading}

{description}

consul-icon
))}
) }