Some corrections with types and undeleted file
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 18m1s
All checks were successful
Build and Deploy to Web Server / deploy (push) Successful in 18m1s
This commit is contained in:
@@ -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;
|
||||
---
|
||||
|
Reference in New Issue
Block a user