--- import Icon from '../user-components/Icon.astro'; import type { Props } from '../props'; const { editUrl, labels } = Astro.props; --- { editUrl && ( {labels['page.editLink']} ) }