Files
yoga/docs/path---docs-layout-direction-5f43245b25bcc50b9515.js
Emil Sjölander bbdb62e654 Use absolute paths in links
Summary: allow-large-files

Reviewed By: danielbuechele

Differential Revision: D7023260

fbshipit-source-id: a797d09b61530b13da10e02c21acef13c508470c
2018-02-19 02:57:52 -08:00

2 lines
1.3 KiB
JavaScript

webpackJsonp([0x6651009305e4],{527:function(e,t){e.exports={pathContext:{frontmatter:{path:"/docs/layout-direction",title:"Layout Direction",hasPlayground:!1,initialPlayground:null,redirect:null},html:'<h2>Layout Direction</h2>\n<p>Layout direction specifies the direction in which children and text\nin a hierarchy should be laid out. Layout direction also effects what\nedge <code>start</code> and <code>end</code> refer to. By default Yoga lays out with <code>LTR</code>\nlayout direction. In this mode <code>start</code> refers to <code>left</code> and <code>end</code>\nrefers to <code>right</code>. When localizing your apps for markets with RTL languages\nyou should customize this by either by passing a direction\nto the <code>CalculateLayout</code> call or by setting the direction on the root node.</p>\n<p><strong>LTR (DEFAULT)</strong> Text and children and laid our from left to right. Margin and\npadding applied the start of an element are applied on the left side.</p>\n<p><strong>RTL</strong> Text and children and laid our from right to left. Margin and\npadding applied the start of an element are applied on the right side.</p>\n<p><controls prop="layoutDirection"></controls></p>'}}}});
//# sourceMappingURL=path---docs-layout-direction-5f43245b25bcc50b9515.js.map