From 0699b731af18bfc65c3dba034f2f41964a6adaf5 Mon Sep 17 00:00:00 2001 From: John Wu Date: Mon, 30 Mar 2015 10:01:27 +0800 Subject: [PATCH 1/2] 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. --- docs/Style.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/Style.md b/docs/Style.md index d7b5d1615..88a84d6c2 100644 --- a/docs/Style.md +++ b/docs/Style.md @@ -91,3 +91,11 @@ var List = React.createClass({ // ... in another file ... ``` +## 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) From 78f0c7178f359d147962fc829479f52f036a707c Mon Sep 17 00:00:00 2001 From: John Wu Date: Tue, 31 Mar 2015 05:32:08 +0800 Subject: [PATCH 2/2] Change links to doc instead of js Change links to doc instead of js --- docs/Style.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/Style.md b/docs/Style.md index 88a84d6c2..0bf23e3a9 100644 --- a/docs/Style.md +++ b/docs/Style.md @@ -95,7 +95,7 @@ var List = React.createClass({ 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) +- [View Properties](http://facebook.github.io/react-native/docs/view.html#style) +- [Image Properties](http://facebook.github.io/react-native/docs/image.html#style) +- [Text Properties](http://facebook.github.io/react-native/docs/text.html#style) - [Flex Properties](http://facebook.github.io/react-native/docs/flexbox.html#content)