Files
shadcn-ui/apps/v4/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-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-10-03 21:05:22 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-10-03 21:05:22 +04:00
2025-10-03 21:05:22 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-10-03 21:05:22 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-10-03 21:05:22 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00
2025-05-30 11:35:16 +04:00