Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of react-native StyleSheet properties and options

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?

like image 451
Mihai Vinaga Avatar asked Dec 16 '15 12:12

Mihai Vinaga


1 Answers

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.

like image 112
Nader Dabit Avatar answered Sep 28 '22 16:09

Nader Dabit