---
import type { HTMLAttributes } from "astro/types";

interface Props extends HTMLAttributes<"a"> {}

import TextLink from "@components/TextLink.astro";

const { href, ...attrs } = Astro.props;
---

<TextLink href={href} {...attrs}><slot /></TextLink>
