Skip to content

Commit 9861a18

Browse files
fabbAndarist
andauthored
Add enterKeyHint prop to the isPropValid allowlist (#2540)
* allow enterKeyHint attribute to be set fixes #2530 * Create silver-fireants-jump.md Co-authored-by: Mateusz Burzyński <[email protected]>
1 parent eb013d2 commit 9861a18

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/silver-fireants-jump.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": patch
3+
---
4+
5+
Added `enterKeyHint` prop to the allowlist of forwardable props.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ const props = {
6767
download: true,
6868
draggable: true,
6969
encType: true,
70+
enterKeyHint: true,
7071
form: true,
7172
formAction: true,
7273
formEncType: true,

0 commit comments

Comments
 (0)