Warning: Tooltip: key is not a prop.
#1089
Answered
by
gabrieljablonski
ricardo-fnd
asked this question in
Q&A
|
I'm getting this error, when I pass And actually, looking for the arguments that |
Answered by
gabrieljablonski
Sep 11, 2023
Replies: 1 comment · 1 reply
|
Hi Ricardo. Unfortunately there's not enough information here to be able to help you for sure. As you've noticed, the tooltip component indeed does not have an explicit From the error message, it seems like you're defining a wrapper component for the tooltip on your My guess is that, as the error message suggests, you're trying to expose the |
1 reply
Answer selected by
ricardo-fnd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Hi Ricardo. Unfortunately there's not enough information here to be able to help you for sure.
As you've noticed, the tooltip component indeed does not have an explicit
keyprop, but since it is a functional component, thekeyprop is implicit. Here's an example from the official React docs.From the error message, it seems like you're defining a wrapper component for the tooltip on your
components13/Tooltip.tsfile.My guess is that, as the error message suggests, you're trying to expose the
keyprop, which is not allowed. If that's not the case, please provide more information.