Skip to content

Conversation

krishnagkmit
Copy link
Contributor

@krishnagkmit krishnagkmit commented Oct 11, 2025

Fix: Correct Link import to use default export

This PR updates the import statement for the Link component in the Button documentation.

What Changed

  • The import statement now correctly imports Link as a default export instead of a named export.

Why

  • Previously, Link was imported as a named export, which is incorrect and causes import errors.
  • The Link component should be imported as the default export to match its actual export structure.

Impact

  • Prevents import errors for users copying the example.
  • Ensures documentation accurately reflects the correct usage of the Link component.

Copy link

vercel bot commented Oct 11, 2025

@krishnagkmit is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: import statement for Link is incorrect in a snippet of button component docs

1 participant