Add documentation for space evenly in align content (#1617)
Summary: Pull Request resolved: https://github.com/facebook/yoga/pull/1617 tsia, this was added recently and did not exist in the old docs Reviewed By: yungsters Differential Revision: D54830687 fbshipit-source-id: bbc7c833fdabe281367edeb0fbdc85960fe982fb
This commit is contained in:
committed by
Facebook GitHub Bot
parent
20e05881a8
commit
281563501f
@@ -25,6 +25,11 @@ remaining space around the lines. Compared to space between using
|
|||||||
space around will result in space being distributed to the begining of
|
space around will result in space being distributed to the begining of
|
||||||
the first lines and end of the last line.
|
the first lines and end of the last line.
|
||||||
|
|
||||||
|
**Space evenly**: Evenly space wrapped lines across the container's main axis, distributing
|
||||||
|
remaining space around the lines. Compared to space around, space evenly will not
|
||||||
|
double the gaps between children. The size of gaps between children and between
|
||||||
|
the parent's edges and the first/last child will all be equal.
|
||||||
|
|
||||||
<Playground code={`<Layout config={{useWebDefaults: false}}>
|
<Playground code={`<Layout config={{useWebDefaults: false}}>
|
||||||
<Node
|
<Node
|
||||||
style={{
|
style={{
|
||||||
|
Reference in New Issue
Block a user