--- // Extract the properties from Astro.props const { title, subTitle } = Astro.props; // Define TypeScript interface for the properties interface Props { title: string; subTitle: string; } ---
{title}
{subTitle}