Closed agriffis closed 3 years ago
Name | Link |
---|---|
Latest commit | 4a7291b0bb0ddc2c5f4d35693bb0897179d65273 |
Latest deploy log | https://app.netlify.com/sites/xstyled/deploys/60742a2f8ea8a5000860c1e8 |
This is not a problem on the Emotion side of the house, because it doesn't call isPropValid
Rebased to next.
By the way, it seems my permissions only allow merging with a merge commit through the GitHub interface. I can't git push
to next, and also can't do a fast-forward merge through GitHub. It's no problem—you can just do it—but I thought you should know.
Summary
x.div
must pass through non-system props, including props that are not valid HTML attrs, to supportas={Component}
.This is from discussion at https://github.com/gregberge/xstyled/pull/231#issuecomment-817353699
Problem demo
Since I didn't file a separate issue for this, here is a codesandbox demonstrating the problem: https://codesandbox.io/s/cool-poincare-rzyyt?file=/src/App.js
Test plan
Tests included