upgrade yoga-layout

Summary:
- upgraded to yoga-layout@1.9.3
- set default values correctly
- catch errors

Reviewed By: emilsjolander

Differential Revision: D7001154

fbshipit-source-id: 49527576c61ce109ba0af0f50c981cf5c2c7d41a
This commit is contained in:
Daniel Büchele
2018-02-15 16:42:43 -08:00
committed by Facebook Github Bot
parent ae9703712a
commit b318c4c5c9
8 changed files with 70 additions and 65 deletions

View File

@@ -85,7 +85,7 @@ export default class Editor extends Component<Props> {
<h2>
Basis
<InfoText doclink="/docs/flex">
The factor of remaining space should be given to this node
Default size of a node along the main axis
</InfoText>
</h2>
<EditValue
@@ -233,7 +233,7 @@ export default class Editor extends Component<Props> {
</h2>
<EditValue
type="text"
placeholder="none"
placeholder="auto"
property="aspectRatio"
disabled={disabled}
value={node ? node.aspectRatio : undefined}