Closed AlfonzAlfonz closed 3 years ago
Fixed in v3, please be patient!
Fixed in v3.
Unfortunately, it seems that there are still problems with the type of color prop.
Updated sandbox example: https://codesandbox.io/s/xstyled-color-type-error-forked-v3kz2?file=/src/App.tsx
I'm sorry but I was unable reopen this issue, should I open a new one? @gregberge
🐛 Bug Report
Color prop type definition from xstyled interferes with react definition, which removes responsive definition from types. I would gladly fix this if you tell me where is the problem.
To Reproduce
Expected behavior
Typescript should allow this, otherwise, it works fine.
Link to repl or repo (highly encouraged)
https://codesandbox.io/s/xstyled-color-type-error-b4fw2