--- import WidgetWrapper from "./WidgetWrapper.astro"; import type { FeaturesProps } from "@/types/types"; import { Icon } from "astro-icon/components"; import Card from "@/components/ui/Card.astro"; import Headline from "@/components/ui/Headline.astro"; const { features = [], title, subtitle, tagline, id, isDark = false, classes = {}, bg = await Astro.slots.render("bg"), } = Astro.props as FeaturesProps; const { container: containerClassProp = "", ...otherClasses } = classes; ---
{ features.map((feature) => ( {feature.icon && (
)}

{feature.title}

{feature.description}

)) }