Skip to content

Commit

Permalink
Revert is-prop-valid changes and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
srmagura committed Jun 6, 2022
1 parent 33b2cc7 commit 75aa2d1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/is-prop-valid/src/props.js
Expand Up @@ -480,7 +480,14 @@ const props = {
y2: true,
yChannelSelector: true,
z: true,
zoomAndPan: true
zoomAndPan: true,

// For preact. We have this code here even though Emotion doesn't support
// Preact, since @emotion/is-prop-valid is used by some libraries outside of
// the context of Emotion.
for: true,
class: true,
autofocus: true
}
// eslint-disable-next-line import/no-commonjs
module.exports = `/^((${Object.keys(props).join(
Expand Down

0 comments on commit 75aa2d1

Please sign in to comment.