PrefectHQ / prefect-design

https://prefect-design.netlify.app
Apache License 2.0
29 stars 11 forks source link

[p-tooltip] Fix classes on p-tooltip throw warnings. #1328

Closed collincchoy closed 4 months ago

collincchoy commented 4 months ago

Similar to #1327, recent changes to p-tooltip have resulted in a lot of console warnings in development. This PR fixes another issue where using <p-tooltip class="some class" ... /> results in warnings like the below:

image

The warning is because attrs are falling through to TooltipProvider which doesn't render a single top-level node.

netlify[bot] commented 4 months ago

Deploy Preview for prefect-design ready!

Name Link
Latest commit 4476e54da79bebd8f2bd3bcb841df004d4795987
Latest deploy log https://app.netlify.com/sites/prefect-design/deploys/6659dfd984308800082b384a
Deploy Preview https://deploy-preview-1328--prefect-design.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.