Primereact Tooltip props children
and content
have different types
#527
-
Beta Was this translation helpful? Give feedback.
Answered by
melloware
Nov 22, 2023
Replies: 2 comments 1 reply
-
This looks like a bug. Let me create an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Fixed for 10.2.0: primefaces/primereact#5376 I updated the type of The |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
melloware
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed for 10.2.0: primefaces/primereact#5376
I updated the type of
content
to also be ReactNode but both content and children have slightly different use cases.The
content
can be used in the Reactive example like this: https://primereact.org/tooltip/#reactive