Warning: Tooltip: key is not a prop.
#1089
-
|
I'm getting this error, when I pass And actually, looking for the arguments that |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.


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.