diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/BlockLink.tsx | 8 |
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 ( |
