I've been searching the web for a list of all the possible react-native StyleSheet options and their values. Not to be found, does anyone have a link to such a documentation?
Here they are, separated by component type:
View
Image
Text
Flexbox
Transform
Where you see enum in the documentation, for example on the Text style documentation page:
fontStyle enum('normal', 'italic')
fontWeight enum("normal", 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900')
These usually closely resemble css properties you would find on the web.
UPDATE
As answered below by @muhammad-hannan, you can also find the full layout properties list there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With