fix(design-system): fix some button styling issues leaking link styles in (#176)

This commit is contained in:
41666 2021-03-14 14:49:29 -04:00 committed by GitHub
parent f24d2fcc99
commit 410e27c2b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 7 deletions

View file

@ -107,7 +107,7 @@ export const Link = styled.a`
}
`;
export const CompletelyStylelessLink = styled(RouterLink)`
export const CompletelyStylelessA = styled.a`
color: inherit;
text-decoration: none;
:visited,
@ -116,3 +116,5 @@ export const CompletelyStylelessLink = styled(RouterLink)`
color: inherit;
}
`;
export const CompletelyStylelessLink = CompletelyStylelessA.withComponent(RouterLink);