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.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/BlockLink.tsx b/src/components/BlockLink.tsx
index c0f2ad6..6b841f0 100644
--- a/src/components/BlockLink.tsx
+++ b/src/components/BlockLink.tsx
@@ -1,10 +1,10 @@
import React from "react";
-import { ThemedStyledFunction } from "styled-components";
-import { BlockAnchor, BlockBody, Theme } from "../styles";
+import { BlockAnchor, BlockBody } from "../styles";
type BlockLinkProps = {
- children: React.ReactNode;
-} & ThemedStyledFunction<"a", Theme>;
+ children?: React.ReactNode;
+ as?: undefined;
+} & React.LinkHTMLAttributes<HTMLAnchorElement>;
const BlockLink = ({ children, ...attributes }: BlockLinkProps) => {
return (