Final tweaks

Reviewed By: danielbuechele

Differential Revision: D7009456

fbshipit-source-id: 65304f648141407bc15484840647050e712e89df
This commit is contained in:
Emil Sjölander
2018-02-16 06:41:56 -08:00
committed by Facebook Github Bot
parent bba81781af
commit b21dd9891a
9 changed files with 27 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
---
path: "docs/layout-direction"
title: "Layout Direction"
hasPlayground: true
hasPlayground: false
---
## Layout Direction
@@ -17,7 +17,7 @@ to the `CalculateLayout` call or by setting the direction on the root node.
**LTR (DEFAULT)** Text and children and laid our from left to right. Margin and
padding applied the start of an element are applied on the left side.
**RTL (DEFAULT)** Text and children and laid our from right to left. Margin and
**RTL** Text and children and laid our from right to left. Margin and
padding applied the start of an element are applied on the right side.
<controls prop="layoutDirection"></controls>

View File

@@ -9,7 +9,7 @@ hasPlayground: true
All the following properties set the maximum and minimum size constraints of an element.
These properties have higher priority than all other properties and will always be respected.
Constraints can be specified as either absolute pixel values or as percentages of their
parent's size. By default all these constraints are undefined.
parent's size. By default all these constraints are `undefined`.
### Max Width