You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.
Hey @ShaunSpringer, sorry you ran into trouble here. I'm going to punt on this one by saying that we're going to remove the decorator syntax from the docs and suggest wrapping components with Radium() instead. Slightly more details here: #924
You might try dropping your component into the Radium examples to see what happens. If I had to guess, you might have been seeing this issue because you're using the new stage 2 decorators Babel plugin and not the legacy version. (This discrepancy and changes in the API are the primary reason we're going to stop recommending them until they're totally stable).
So when I use the @radium decorator versus the export default Radium(Button) method, the behavior for concatenating styles varies.
Code Below:
Essentially when I use the decorator, my styles array doesnt get assigned, but when I use the method declaration via export it works perfectly.
The text was updated successfully, but these errors were encountered: