Styled component in CRA + bit


#1

Hi
We have a create app, created via CRA. We have used styled components in our app.
I have exported to the bit so that we can share it after I used to build it via react compiler as below:
“env”: {
“compiler”: “bit.envs/compilers/react@0.0.14”
},
The build was successful and exporting was also. Now the issue is my example is not rendering in bit overview area, just saying rendering:


Can someone please help on this. Do I need to use a different compiler?
Also console ha no error
Thanks
Manish


#2

hi,
The component playground has been updated, and now styledcomponents should work seamlessly.
please validate it in your component.


#3

This issue s also gone