Open flyingnobita opened 3 years ago
Thanks for opening your first issue in aragonUI! Someone will circle back soon âš¡
You also need to enable Babel plugin, see doc here https://styled-components.com/docs/api#css-prop.
I was able to enable it by making these changes.. https://github.com/aragon/govern/commit/33b94f9eb5eca34f8a88190566db398e112193f7
Thanks for the reply.
Do you know if it'll work without react-app-rewired?
react-app-rewired was used to set up babel. If you set up babel differently, without react-app-rewired, I think it'll work.
In my
Landing.tsx
file:I get the error:
I tried to add the type declaration in my
.d.ts
file (taken from here):This suppressed the error but my text was still not formatted.
Perhaps a separate issue, I noticed that even if my file was renamed to
Landing.js
, the text was still not formated. Perhaps this is related to something else... 🤔 (I haven't encountered problems with other componentsTextInput
,Field
, yet though)For context, I'm using aragin UI in a vanilla create-eth-app.