Browse files

Fix comments about Yoga in LayoutPropType.

Just a small fix: change css-layout in LayoutPropTypes to Yoga.
Closes #12509

Differential Revision: D4606716

fbshipit-source-id: c4f6c05c50d241c988604137fd12086d8a1ffb94
  • Loading branch information...
desmond1121 authored and facebook-github-bot committed Feb 23, 2017
1 parent a0f2ca8 commit bac24dde16565cd1341fd91fe39f0d29088bb8fe
Showing with 6 additions and 6 deletions.
  1. +6 −6 Libraries/StyleSheet/LayoutPropTypes.js
@@ -15,10 +15,10 @@ var ReactPropTypes = require('React').PropTypes;
* React Native's layout system is based on Flexbox and is powered both
* on iOS and Android by an open source project called css-layout:
* on iOS and Android by an open source project called `Yoga`:
* The implementation in css-layout is slightly different from what the
* The implementation in Yoga is slightly different from what the
* Flexbox spec defines - for example, we chose more sensible default
* values. Since our layout docs are generated from the comments in this
* file, please keep a brief comment describing each prop type.
@@ -323,7 +323,7 @@ var LayoutPropTypes = {
* that is not its parent, just don't use styles for that. Use the
* component tree.
* See
* See
* for more details on how `position` differs between React Native
* and CSS.
@@ -417,8 +417,8 @@ var LayoutPropTypes = {
/** 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
* according to the `Yoga` library
* at
* When `flex` is a positive number, it makes the component flexible
* and it will be sized proportional to its flex value. So a

0 comments on commit bac24dd

Please sign in to comment.