webpackJsonp([0x9c228c710fef],{530:function(e,t){e.exports={pathContext:{frontmatter:{path:"/docs/width-height",title:"Width and Height",hasPlayground:!0,initialPlayground:null,redirect:null},html:'

Width and Height

\n

The width property in Yoga specifies the width of the element\'s content area.\nSimilarly height property specifies the height of the element\'s content area.

\n

Both width and height can take following values:

\n

AUTO Is the default Value, Yoga calculates the width/height for the element based\non its content, whether that is other children, text, or an image.

\n

PIXELS Defines the width/height in absolute pixels. Depending on other properties set on\nthe Yoga node this may or may not be the final dimension of the node.

\n

PERCENTAGE Defines the width or height in percentage of its parent\'s width or height respectively.

\n

Width

\n

\n

Height

\n

'}}}}); //# sourceMappingURL=path---docs-width-height-406684265f9c7d1c78a7.js.map