--- import WidgetWrapper from "~/components/ui/WidgetWrapper.astro"; import Timeline from "~/components/ui/Timeline.astro"; import Headline from "~/components/ui/Headline.astro"; import Image from '~/components/common/Image.astro'; import type { Steps } from "~/types"; const { title = await Astro.slots.render("title"), subtitle = await Astro.slots.render("subtitle"), tagline = await Astro.slots.render("tagline"), items = [], image = await Astro.slots.render("image"), isReversed = false, id, isDark = false, classes = {}, bg = await Astro.slots.render("bg"), } = Astro.props as Steps; ---
{ image && (typeof image === 'string' ? ( ) : ( {image?.alt )) }