import Button from '@hashicorp/react-button' import s from './style.module.css' interface Doc { icon: { src: string alt: string } description: string cta: { text: string url: string } } interface DocsListProps { title: string docs: Doc[] className?: string } export default function DocsList({ title, docs, className }: DocsListProps) { return (

{title}

{docs.map(({ icon, description, cta }) => (
{icon.alt}

{description}

))}
) }