From 134dd57cd651e12d70e4f34e051e291ca5f2c577 Mon Sep 17 00:00:00 2001 From: Mike Fowler Date: Tue, 22 Dec 2015 16:24:07 -0800 Subject: [PATCH] Update ToolbarAndroid.android.js Summary: Updates the documentation for `ToolbarAndroid.android.js` with proper asset system syntax. Closes https://github.com/facebook/react-native/pull/4908 Reviewed By: svcscm Differential Revision: D2783113 Pulled By: mkonicek fb-gh-sync-id: 321d79cb80025d7a065ccf012678ecebccb35bae --- .../Components/ToolbarAndroid/ToolbarAndroid.android.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Libraries/Components/ToolbarAndroid/ToolbarAndroid.android.js b/Libraries/Components/ToolbarAndroid/ToolbarAndroid.android.js index 844889da0..26f03f7c9 100644 --- a/Libraries/Components/ToolbarAndroid/ToolbarAndroid.android.js +++ b/Libraries/Components/ToolbarAndroid/ToolbarAndroid.android.js @@ -49,9 +49,9 @@ var optionalImageSource = ReactPropTypes.oneOfType([ * render: function() { * return ( * * ) * }, @@ -77,7 +77,7 @@ var ToolbarAndroid = React.createClass({ * This property takes an array of objects, where each object has the following keys: * * * `title`: **required**, the title of this action - * * `icon`: the icon for this action, e.g. `require('image!some_icon')` + * * `icon`: the icon for this action, e.g. `require('./some_icon.png')` * * `show`: when to show this action as an icon or hide it in the overflow menu: `always`, * `ifRoom` or `never` * * `showWithText`: boolean, whether to show text alongside the icon or not