Skip to content

Conversation

@TimurKr
Copy link

@TimurKr TimurKr commented Sep 16, 2024

This PR addresses the issue #16.

This pull request adds support for the onClick event handler in the Link component of Next.js. Previously, the onClick prop was not available in the Link component, but with this change, developers can now provide a custom onClick function to handle click events on the Link component. This enhancement improves the flexibility and functionality of the Link component in Next.js.

@irongollem
Copy link

We also need our own onClick to run as well.

@sbawabe
Copy link

sbawabe commented Jun 26, 2025

can we get this one merged in? need this for our use case as well!

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.

3 participants