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
@jacobp100 @NordlingArt any hidden way to do the opposite? rn obj to css string?
Tried the code above but didn't work. Also didn't find this on the source code
e.g.
input: { backgroundColor: 'red' }
output: background-color: red
input: { opacity: 1, fontSize: 10 } (need to check manually where to add px?)
output: opacity:1;fontSize:10px
Uh oh!
There was an error while loading. Please reload this page.
The module does the exact opposite. You take StyleSheet object and turn it into a CSS string with the transform function:
But I thought this is what it was supposed to do:
What am I missing? There is nothing documented on how to actually convert CSS to a React Native StyleSheet object.
Thanks in advance!
The text was updated successfully, but these errors were encountered: