Skip to content

Commit dfae1cb

Browse files
Adds popover, popoverTarget and popoverTargetAction to the list of allowed props (#3306)
* feat(is-prop-valid): add support for popover api * Apply suggestions from code review --------- Co-authored-by: Mateusz Burzyński <[email protected]>
1 parent 4922955 commit dfae1cb

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/gentle-doors-heal.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@emotion/is-prop-valid': minor
3+
---
4+
5+
Adds `popover`, `popoverTarget` and `popoverTargetAction` to the list of allowed props.

packages/is-prop-valid/src/props.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ const props = {
124124
pattern: true,
125125
placeholder: true,
126126
playsInline: true,
127+
popover: true,
128+
popoverTarget: true,
129+
popoverTargetAction: true,
127130
poster: true,
128131
preload: true,
129132
profile: true,

0 commit comments

Comments
 (0)