Files
shadcn-ui/apps/www/content/docs/components
Serhat Arslan bea7d30536 docs: fix next/link import syntax in component examples (#8427)
Fix incorrect named import syntax for Next.js Link component.

Changed from:
  import { Link } from "next/link"

To correct default import:
  import Link from "next/link"

Next.js Link is a default export, not a named export. The incorrect
syntax causes TypeScript error:
'Module "next/link" has no exported member "Link"'

Affected files:
- Button component docs
- Badge component docs
- Breadcrumb component docs (v4 and www)
- Navigation Menu component docs

Fixes issue where users copying code snippets get immediate errors.

Co-authored-by: serhatx1 <armonikadijital@gmail.com>
2025-10-14 22:38:58 +04:00
..
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2024-08-21 23:42:03 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2024-08-21 23:42:03 +04:00
2025-02-10 11:34:02 +04:00
2025-02-17 23:04:58 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00
2025-02-10 11:34:02 +04:00