You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I use the new popover API with styled-components without triggering the unknown prop warning? styled-components: it looks like an unknown prop "popover" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via (connect an API like@emotion/is-prop-valid) or consider using transient props ($prefix for automatic filtering.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can I use the new
popover
API with styled-components without triggering the unknown prop warning?styled-components: it looks like an unknown prop "popover" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via
(connect an API like
@emotion/is-prop-valid) or consider using transient props (
$prefix for automatic filtering.)
Beta Was this translation helpful? Give feedback.
All reactions