mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 19:44:13 +00:00
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. <img width="892" alt="screen shot 2016-07-06 at 20 59 08" src="https://cloud.githubusercontent.com/assets/482561/16629040/ee0e819e-43bc-11e6-8ca1-eb9b90869b59.png"> 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
This commit is contained in:
parent
8c9f190038
commit
3a24c63f73
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user