Document default values of alignItems and justifyContent (#2733)

This commit is contained in:
Huy Nguyen
2016-12-08 15:53:05 +00:00
committed by Michael Schneider
parent 4355f4d2ee
commit 016d99f420
2 changed files with 5 additions and 4 deletions

View File

@@ -55,9 +55,9 @@ NS_ASSUME_NONNULL_BEGIN
Thus, it is preferred to those properties
*/
@property (nonatomic, assign) ASVerticalAlignment verticalAlignment;
/** The amount of space between each child. */
/** The amount of space between each child. Defaults to ASStackLayoutJustifyContentStart */
@property (nonatomic, assign) ASStackLayoutJustifyContent justifyContent;
/** Orientation of children along cross axis */
/** Orientation of children along cross axis. Defaults to ASStackLayoutAlignItemsStretch */
@property (nonatomic, assign) ASStackLayoutAlignItems alignItems;
/** If YES the vertical spacing between two views is measured from the last baseline of the top view to the top of the bottom view */
@property (nonatomic, assign) BOOL baselineRelativeArrangement;