--- export interface Props { title: string; url: string; class?: string; } const { title, url, class: className = '' } = Astro.props; const encodedTitle = encodeURIComponent(title); const encodedUrl = encodeURIComponent(url); ---
Share: