Welcome to the Treehouse Community
Looking to learn something new?
Justin Rich19,556 Points
React Native size units of measurement
In react native when setting sizes (width, fontSize, etc) are we using pixels or another unit of measurement (%, em, rm)? Additionally, what sizing units are permitted?
Seth Kroger56,407 Points
"All dimensions in React Native are unitless, and represent density-independent pixels." While it doesn't say so explicitly, it seems equivalent to Android's
[changed category to JS because that's the category of the React Native course.]