--- type Props = { previousHref?: string; nextHref?: string; }; const { previousHref, nextHref } = Astro.props as Props; ---
{ previousHref ? ( ) : ( ) }