Skip to content

Add onClick support for next.js Link component#17

Open
TimurKr wants to merge 1 commit into
vercel:mainfrom
TimurKr:main
Open

Add onClick support for next.js Link component#17
TimurKr wants to merge 1 commit into
vercel:mainfrom
TimurKr:main

Conversation

@TimurKr

@TimurKr TimurKr commented Sep 16, 2024

Copy link
Copy Markdown

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
Copy Markdown

We also need our own onClick to run as well.

@sbawabe

sbawabe commented Jun 26, 2025

Copy link
Copy Markdown

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

@altyntsevlexus

Copy link
Copy Markdown

Hey, guys! Can we merge it? Really need it.

@altyntsevlexus

Copy link
Copy Markdown

@timneutkens @samselikoff @ryanto FYI

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.

4 participants