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.
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.
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 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