We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7437cf1 + 1a1256a commit 6fb1259Copy full SHA for 6fb1259
src/components/links/custom-link/custom-link.tsx
@@ -125,7 +125,7 @@ const CustomLink: FunctionComponent<CustomLinkProps> = ({
125
</a>
126
);
127
128
- case urlOrHref.endsWith('.xml'):
+ case urlOrHref.endsWith('.xml') || urlOrHref.endsWith('.xlsx'):
129
return (
130
<a href={urlOrHref} className="primary" download data-testid={dataTestId || 'download-link'} onClick={onClickEventHandler}>
131
{children}
0 commit comments