Some corrections with types and undeleted file
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 18m1s

This commit is contained in:
2025-08-14 09:48:52 +09:30
parent 63e0e1fd28
commit 1f45a74b2a
19 changed files with 54 additions and 105 deletions

View File

@@ -1,10 +1,11 @@
---
interface Props {
import type { HTMLAttributes } from "astro/types";
interface Props extends HTMLAttributes<"span"> {
colour?: String;
textColour?: String;
size?: String;
hover?: String;
className?: String;
}
const {
@@ -12,7 +13,7 @@ const {
textColour = "text-white",
size = "text-xs",
hover = "hover:bg-white hover:text-primary hover:ring-primary hover:ring-2",
className,
class: className,
...attrs
} = Astro.props as Props;
---