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:
@@ -3,9 +3,9 @@ import type { HTMLAttributes } from "astro/types";
|
||||
|
||||
interface Props extends HTMLAttributes<"a"> {}
|
||||
|
||||
import Link from "@components/Link.astro";
|
||||
import TextLink from "@components/TextLink.astro";
|
||||
|
||||
const { href, ...attrs } = Astro.props as Props;
|
||||
const { href, ...attrs } = Astro.props;
|
||||
---
|
||||
|
||||
<Link href={href} {...attrs}><slot /></Link>
|
||||
<TextLink href={href} {...attrs}><slot /></TextLink>
|
||||
|
||||
@@ -7,4 +7,4 @@ interface Props extends HTMLAttributes<"p"> {}
|
||||
const { ...attrs } = Astro.props as Props;
|
||||
---
|
||||
|
||||
<Paragraph className="my-4" {...attrs}><slot /></Paragraph>
|
||||
<Paragraph class="my-4" {...attrs}><slot /></Paragraph>
|
||||
|
||||
Reference in New Issue
Block a user