Polymorphic button raises the warning about deprecated onClick usage #4360
Unanswered
TwoWheelDev
asked this question in
Q&A
Replies: 1 comment 5 replies
-
which version are you using? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm fairly new to nextui, and using the the examples from the website for a navbar with a button raises the warning regarding onClick being deprecated. The example shown here: https://nextui.org/docs/components/link#polymorphic-component will raise this warning.
I've read through issue #4292 that is linked in the warning but it doesn't provide any clear indication how to fix this usage (which seems to be rooted within nextui as I don't directly call onClick myself.
How would I go about fixing this?
Beta Was this translation helpful? Give feedback.
All reactions