webpackJsonp([0x6651009305e4],{527:function(e,t){e.exports={pathContext:{frontmatter:{path:"/docs/layout-direction",title:"Layout Direction",hasPlayground:!1,initialPlayground:null,redirect:null},html:'

Layout Direction

\n

Layout direction specifies the direction in which children and text\nin a hierarchy should be laid out. Layout direction also effects what\nedge start and end refer to. By default Yoga lays out with LTR\nlayout direction. In this mode start refers to left and end\nrefers to right. When localizing your apps for markets with RTL languages\nyou should customize this by either by passing a direction\nto the CalculateLayout call or by setting the direction on the root node.

\n

LTR (DEFAULT) 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.

\n

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

\n

'}}}}); //# sourceMappingURL=path---docs-layout-direction-5f43245b25bcc50b9515.js.map