From 532ff57cafd8ba04f3b624074556ea47ec76fc9a Mon Sep 17 00:00:00 2001 From: Dustin Brett Date: Sat, 21 Sep 2024 00:34:35 -0700 Subject: [PATCH] Add fetchpriority to props (#3093) * Added fetchpriority to props * Add fetchPriority as well * Create eighty-garlics-dance.md * Update .changeset/eighty-garlics-dance.md --------- Co-authored-by: Oliver Schmidt --- .changeset/eighty-garlics-dance.md | 9 +++++++++ packages/is-prop-valid/src/props.js | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 .changeset/eighty-garlics-dance.md diff --git a/.changeset/eighty-garlics-dance.md b/.changeset/eighty-garlics-dance.md new file mode 100644 index 000000000..d722867ba --- /dev/null +++ b/.changeset/eighty-garlics-dance.md @@ -0,0 +1,9 @@ +--- +"@emotion/is-prop-valid": patch +--- + + +author: @codejet +author: @DustinBrett + +Adds `fetchpriority` and `fetchPriority` to the list of allowed props. diff --git a/packages/is-prop-valid/src/props.js b/packages/is-prop-valid/src/props.js index 2dccc9b9a..10f0cca0f 100644 --- a/packages/is-prop-valid/src/props.js +++ b/packages/is-prop-valid/src/props.js @@ -72,6 +72,8 @@ const props = { draggable: true, encType: true, enterKeyHint: true, + fetchpriority: true, + fetchPriority: true, form: true, formAction: true, formEncType: true,