aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/BlockLink.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/BlockLink.tsx')
-rw-r--r--src/components/BlockLink.tsx17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/components/BlockLink.tsx b/src/components/BlockLink.tsx
deleted file mode 100644
index 6b841f0..0000000
--- a/src/components/BlockLink.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-import React from "react";
-import { BlockAnchor, BlockBody } from "../styles";
-
-type BlockLinkProps = {
- children?: React.ReactNode;
- as?: undefined;
-} & React.LinkHTMLAttributes<HTMLAnchorElement>;
-
-const BlockLink = ({ children, ...attributes }: BlockLinkProps) => {
- return (
- <BlockBody theme={{ link: true }}>
- <BlockAnchor {...attributes}>{children}</BlockAnchor>
- </BlockBody>
- );
-};
-
-export default BlockLink;