--- import { Icon } from "astro-icon/components"; import type { Attribute } from "src/utils/attributes"; interface Props extends Attribute {} const { icon, title, values } = Astro.props; if (values.length === 0) return; --- {/* ------------------------------------------- HTML ------------------------------------------- */}

{title}

{values.map(({ name }) => name).join(", ")}
{/* ------------------------------------------- CSS -------------------------------------------- */}