Document supported CSS properties

Add links to source code that shows supported CSS properties. It will be painful if we don't know what is supported.

Given that CSS properties support may be ever changing, I decided to document links to source code directly.
This commit is contained in:
John Wu 2015-03-30 10:01:27 +08:00
parent f3cd27cf48
commit 0699b731af

View File

@ -91,3 +91,11 @@ var List = React.createClass({
// ... in another file ... // ... in another file ...
<List style={styles.list} elementStyle={styles.listElement} /> <List style={styles.list} elementStyle={styles.listElement} />
``` ```
## Supported Properties
You can checkout latest support of CSS Properties in following Links.
- [View Properties](https://github.com/facebook/react-native/blob/72d3d724a3a0c6bc46981efd0dad8f7f61121a47/Libraries/Components/View/ViewStylePropTypes.js)
- [Image Properties](https://github.com/facebook/react-native/blob/72d3d724a3a0c6bc46981efd0dad8f7f61121a47/Libraries/Image/ImageStylePropTypes.js)
- [Text Properties](https://github.com/facebook/react-native/blob/72d3d724a3a0c6bc46981efd0dad8f7f61121a47/Libraries/Text/TextStylePropTypes.js)
- [Flex Properties](http://facebook.github.io/react-native/docs/flexbox.html#content)