diff --git a/src/typography/Typography.jsx b/src/typography/Typography.jsx index a1f6ec2..15b42f6 100644 --- a/src/typography/Typography.jsx +++ b/src/typography/Typography.jsx @@ -176,17 +176,19 @@ export const Micro = forwardRef( export const Link = forwardRef( ( { - as: Component = RouterLink, + as, children, className, color = "link", href, + to, fontWeight, overflowEllipsis, ...rest }, ref ) => { + const Component = as || (to ? RouterLink : "a"); let externalLinkProps; if (href) { @@ -200,6 +202,7 @@ export const Link = forwardRef(