From c3b6f25511b3f9febb12676e9ebf4447f58000a4 Mon Sep 17 00:00:00 2001 From: Aleksandra Desmurs-Linczewska Date: Mon, 4 Dec 2017 12:54:25 +0100 Subject: [PATCH] Corrected typo It should say "width" instead of "height" :) --- website/versioned_docs/version-0.5/flexbox.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/versioned_docs/version-0.5/flexbox.md b/website/versioned_docs/version-0.5/flexbox.md index 016a3c3463c..c1459e9443f 100644 --- a/website/versioned_docs/version-0.5/flexbox.md +++ b/website/versioned_docs/version-0.5/flexbox.md @@ -69,7 +69,7 @@ AppRegistry.registerComponent('AwesomeProject', () => JustifyContentBasics); Adding `alignItems` to a component's style determines the **alignment** of children along the **secondary axis** (if the primary axis is `row`, then the secondary is `column`, and vice versa). Should children be aligned at the start, the center, the end, or stretched to fill? Available options are `flex-start`, `center`, `flex-end`, and `stretch`. -> For `stretch` to have an effect, children must not have a fixed dimension along the secondary axis. In the following example, setting `alignItems: stretch` does nothing until the `height: 50` is removed from the children. +> For `stretch` to have an effect, children must not have a fixed dimension along the secondary axis. In the following example, setting `alignItems: stretch` does nothing until the `width: 50` is removed from the children. ```ReactNativeWebPlayer import React, { Component } from 'react';