From c2396bf361f6344ae99c765834820c2995b534fc Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Fri, 24 Feb 2017 03:01:37 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/layout-props.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/releases/next/docs/layout-props.html b/releases/next/docs/layout-props.html index 989e4a9ecd7..170ecba189d 100644 --- a/releases/next/docs/layout-props.html +++ b/releases/next/docs/layout-props.html @@ -26,8 +26,8 @@ for more details.

See https://developer.mozilla.org/en-US/docs/Web/CSS/bottom for more details of how bottom affects layout.

flex number #

In React Native flex does not work the same way that it does in CSS. flex is a number rather than a string, and it works - according to the css-layout library - at https://github.com/facebook/css-layout.

When flex is a positive number, it makes the component flexible + according to the Yoga library + at https://github.com/facebook/yoga

When flex is a positive number, it makes the component flexible and it will be sized proportional to its flex value. So a component with flex set to 2 will take twice the space as a component with flex set to 1.

When flex is 0, the component is sized according to width @@ -96,7 +96,7 @@ for more details.

absolute position.

If you want to position a child relative to something that is not its parent, just don't use styles for that. Use the - component tree.

See https://github.com/facebook/css-layout + component tree.

See https://github.com/facebook/yoga for more details on how position differs between React Native and CSS.

right number, string #

right is the number of logical pixels to offset the right edge of this component.

It works similarly to right in CSS, but in React Native you