From 4bc2c40e5f139e8b2ff29c8abffec79798c96c7b Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Mon, 14 Aug 2023 21:07:40 +0100 Subject: Defines Link component --- src/components/Link.astro | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/components/Link.astro (limited to 'src/components/Link.astro') diff --git a/src/components/Link.astro b/src/components/Link.astro new file mode 100644 index 0000000..365441e --- /dev/null +++ b/src/components/Link.astro @@ -0,0 +1,9 @@ +--- +interface Props { + href: string; +} + +const { href } = Astro.props; +--- + + -- cgit v1.2.3