Summary: Move yoga docs into master branch so that pull requests are able to include doc updates as part of other changes. Reviewed By: JoelMarcey Differential Revision: D4365700 fbshipit-source-id: 2f46a88974104c454c00bcdf1257abb5c4075a68
2.3 KiB
2.3 KiB
docid, title, layout, permalink
| docid | title | layout | permalink |
|---|---|---|---|
| flex-wrap | Flex wrap | docs | /docs/flex-wrap/ |
The FlexWrap property is set on containers and controls what happens when children overflow the size of the container along the main axis. There are 2 options:
Nowrap(default)Wrap
If a container specifies FlexWrap = Wrap then its children will wrap to the next line instead of overflowing. The next line will have the same FlexDirection as the first line and will appear next to the first line along the cross axis -- below it if using FlexDirection = Column and to the right if using FlexDirection = Row.