Skip to content

Primereact Tooltip props children and content have different types #527

Closed Answered by melloware
lukaszsobek asked this question in PrimeReact
Discussion options

You must be logged in to vote

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

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@lukaszsobek
Comment options

Answer selected by melloware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants