--- import type { Polymorphic } from "astro/types"; type Props = Polymorphic<{ as: Tag; variant?: "outline" | "solid"; size?: "sm" | "md" | "lg" | "inherit"; }>; export type { Props as ButtonProps }; const { as: Tag = "button", variant = "solid", size = "md", class: className, ...props } = Astro.props; ---