From 3a24c63f73b84a1f6d5331cc76ce4dad0d363616 Mon Sep 17 00:00:00 2001 From: Vesa Laakso Date: Wed, 6 Jul 2016 11:49:49 -0700 Subject: [PATCH] Documentation: Fix LayoutWithFlexbox.md broken example Summary: This fixes the [Align Items example](http://facebook.github.io/react-native/releases/next/docs/flexbox.html#align-items) in Layout with Flexbox -documentation page by fixing a broken example. screen shot 2016-07-06 at 20 59 08 EDIT: Seems like 34adde9e96d8949fe3a20144616aaa5e073d5e94 tried to cover all of these but missed one case :) Closes https://github.com/facebook/react-native/pull/8608 Differential Revision: D3523445 Pulled By: JoelMarcey fbshipit-source-id: ffc8be2b2e85d3b821a37e387e9385e57820a200 --- docs/LayoutWithFlexbox.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/LayoutWithFlexbox.md b/docs/LayoutWithFlexbox.md index 39d773084..762084ac3 100644 --- a/docs/LayoutWithFlexbox.md +++ b/docs/LayoutWithFlexbox.md @@ -76,7 +76,7 @@ Adding `alignItems` to a component's style determines the **alignment** of child import React, { Component } from 'react'; import { AppRegistry, View } from 'react-native'; -class AlignItemsBasics { +class AlignItemsBasics extends Component { render() { return ( // Try setting `alignItems` to 'flex-start'