diff --git a/src/components/H2.astro b/src/components/H2.astro index ff2bd6f..6be5d97 100644 --- a/src/components/H2.astro +++ b/src/components/H2.astro @@ -2,8 +2,9 @@ type Props = { text: string; color?: string; + class?: string; }; -const { text, color = "text-white" } = Astro.props; +const { text, color = "text-white", class: classNames = "" } = Astro.props; --- -