--- interface Props { href: string; class?: string; [key: string]: any; } const { href, class: className, ...rest } = Astro.props; ---