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.6 KiB
2.6 KiB
docid, title, layout, permalink
docid | title | layout | permalink |
---|---|---|---|
justify-content | Justify content | docs | /docs/justify-content/ |
The JustifyContent
property describes how to align children within the main axis of a container. For example, you can use this property to center a child horizontally within a container with FlexDirection = Row
or vertically within a container with FlexDirection = Column
.
JustifyContent
accepts 1 of the following 5 options:
FlexStart
(default)FlexEnd
Center
SpaceBetween
SpaceAround