Skip to content

Commit

Permalink
Add enterKeyHint prop to the isPropValid allowlist (#2540)
Browse files Browse the repository at this point in the history
* allow enterKeyHint attribute to be set

fixes #2530

* Create silver-fireants-jump.md

Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
  • Loading branch information
fabb and Andarist committed Nov 14, 2021
1 parent eb013d2 commit 9861a18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/silver-fireants-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@emotion/is-prop-valid": patch
---

Added `enterKeyHint` prop to the allowlist of forwardable props.
1 change: 1 addition & 0 deletions packages/is-prop-valid/src/props.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const props = {
download: true,
draggable: true,
encType: true,
enterKeyHint: true,
form: true,
formAction: true,
formEncType: true,
Expand Down

0 comments on commit 9861a18

Please sign in to comment.