From 1fd2e176ae1e6d66aaf67fda730f942ddde6c18b Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Thu, 8 Oct 2015 13:46:33 -0700 Subject: [PATCH] Fix broken code block and make the example nicer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: @​kmagiera @mkonicek - made a mistake while updating it, removed the `margin` style for some reason on the inner Text (it was 1am, ¯\_(ツ)_/¯). This also makes the example nicer looking - style the navigation with a white background, center the text in the main content view. ![](http://url.brentvatne.ca/16xXe.png) ![](http://url.brentvatne.ca/1a4Jt.png) Closes https://github.com/facebook/react-native/pull/2682 Reviewed By: @​svcscm Differential Revision: D2454465 Pulled By: @mkonicek fb-gh-sync-id: 2fa17366b34ae31c490d37791ad693c17ac3f128 --- .../DrawerAndroid/DrawerLayoutAndroid.android.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js b/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js index 8cdad27cc..368ba87f8 100644 --- a/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +++ b/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js @@ -50,15 +50,19 @@ var DRAWER_STATES = [ * ``` * render: function() { * var navigationView = ( - * I'm in the Drawer! + * + * I'm in the Drawer! + * * ); * return ( * navigationView}> - * Hello - * World! + * + * Hello + * World! + * * * ); * },