--- interface Props { previous?: string | URL; next?: string | URL; label?: string; } const { next, previous, label } = Astro.props; --- { (next || previous) && ( { previous && ( < Anterior ) } {label && } { next && ( Próximo > ) } ) }
< Anterior
Próximo >