alert(`Navigate to: ${path}`)} useHref={(path: string) => path}>
+
+ Default: navigates through the router
+
+ target="_self": navigates through the router
+
+
+ target="_blank": opens a new tab
+
+
+
+ ),
+};
+
export const Truncated: Story = {
args: {
children: 'This is a very long link text that should be truncated if it overflows the container.',
diff --git a/packages/components/src/components/Link/Link.tsx b/packages/components/src/components/Link/Link.tsx
index 624211d880..c4fb14414c 100644
--- a/packages/components/src/components/Link/Link.tsx
+++ b/packages/components/src/components/Link/Link.tsx
@@ -116,6 +116,7 @@ export const Link = forwardRef