From 299159ab2b4b1488cfc99e38c921e35d61a1264a Mon Sep 17 00:00:00 2001
From: Kevin J Hoerr <kjhoerr@protonmail.com>
Date: Fri, 18 Nov 2022 17:57:24 -0500
Subject: Refactor components and styles to be consistent

---
 src/components/BlockLink.tsx | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 src/components/BlockLink.tsx

(limited to 'src/components/BlockLink.tsx')

diff --git a/src/components/BlockLink.tsx b/src/components/BlockLink.tsx
new file mode 100644
index 0000000..3144c86
--- /dev/null
+++ b/src/components/BlockLink.tsx
@@ -0,0 +1,12 @@
+import React from "react";
+import { BlockAnchor, BlockBody } from "../styles";
+
+const BlockLink = ({ children, ...attributes }) => {
+  return (
+    <BlockBody>
+      <BlockAnchor {...attributes}>{children}</BlockAnchor>
+    </BlockBody>
+  );
+};
+
+export default BlockLink;
-- 
cgit 

