--- interface Props { className?: string; href?: string; } const { className = '', href } = Astro.props; --- { href !== undefined ? ( ) : ( ) }