--- interface Props { image: string; title: string; type?: "boxed" | "simple"; } const { image, title, type = "simple" } = Astro.props; --- {type === "boxed" ? (
{title} {title}
) : ( {title} )}