--- import type { LabelledValue } from '@/types/shared'; import Typography from './typography.astro'; export interface Props extends LabelledValue {} const { label, value, url } = Astro.props; const parsedValue = Array.isArray(value) ? value.join(', ') : value; ---
{label}: { url ? ( {parsedValue} ) : ( {parsedValue} ) }