Files
yoga/website/contents/properties/min-max.md
Marcus Wu 99026e42a9 Fixed min-max docs typo
Summary:
Fixed `Max / Min Width and Height` docs typo.
Closes https://github.com/facebook/yoga/pull/720

Reviewed By: emilsjolander

Differential Revision: D7110855

Pulled By: priteshrnandgaonkar

fbshipit-source-id: 253d96e5d1208b94b6248ffab5f59caaef6ada2b
2018-03-01 06:19:41 -08:00

29 lines
674 B
Markdown

---
path: "/docs/min-max"
title: "Max / Min Width and Height"
hasPlayground: true
---
## Max / Min Width and Height
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`.
### Max Width
<controls prop="maxWidth"></controls>
### Min Width
<controls prop="minWidth"></controls>
### Max Height
<controls prop="maxHeight"></controls>
### Min Height
<controls prop="minHeight"></controls>