From 173349c88ecc8730316eac38cbc88ed2e207d3a8 Mon Sep 17 00:00:00 2001 From: Keith Date: Sun, 15 Oct 2023 16:34:06 +0900 Subject: [PATCH] fix: pass download attr to the linkComp --- src/components/StyledLink/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/StyledLink/index.tsx b/src/components/StyledLink/index.tsx index d2658be7..3f82e954 100644 --- a/src/components/StyledLink/index.tsx +++ b/src/components/StyledLink/index.tsx @@ -42,6 +42,7 @@ export const StyledLink: FC> = ({ href={href} target={openNewTab ? '_blank' : '_self'} rel="noopener noreferrer" + download={download} > {children ?? href} {isExternalLink && icon ? : null}