List of react-native StyleSheet properties and options
Ad
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?
Ad
Answer
Ad
Here they are, separated by component type:
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.
Ad
source: stackoverflow.com
Related Questions
Ad
- → Import statement and Babel
- → should I choose reactjs+f7 or f7+vue.js?
- → Uncaught TypeError: Cannot read property '__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' of undefined
- → .tsx webpack compile fails: Unexpected token <
- → React-router: Passing props to children
- → ListView.DataSource looping data for React Native
- → React Native with visual studio 2015 IDE
- → Can't test submit handler in React component
- → React + Flux - How to avoid global variable
- → Webpack, React & Babel, not rendering DOM
- → How do I determine if a new ReactJS session and/or Browser session has started?
- → Alt @decorators in React-Native
- → How to dynamically add class to parent div of focused input field?
Ad