From c01bd4f4b1af9a5dc213718016da307f4ab7613d Mon Sep 17 00:00:00 2001 From: Alexander Swed Date: Mon, 12 Oct 2020 12:24:59 +0200 Subject: [PATCH] fix(TextLink): props type --- src/lib/TextLink/TextLink.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/TextLink/TextLink.tsx b/src/lib/TextLink/TextLink.tsx index a4e58609..cff2f55c 100644 --- a/src/lib/TextLink/TextLink.tsx +++ b/src/lib/TextLink/TextLink.tsx @@ -40,7 +40,7 @@ const Link = styled(Flex, { type AnchorProps = React.DetailedHTMLProps, HTMLAnchorElement>; type LinkProps = React.ComponentProps; -type Props = AnchorProps & { external?: boolean; font: LinkProps['font']; size: LinkProps['size'] }; +type Props = AnchorProps & LinkProps & { external?: boolean }; const TextLink = React.forwardRef( ({ font = 'default', size = 'base', external, children, ...props }, ref) => {