add remote image support to toolbar

Differential Revision: D2493627
This commit is contained in:
Felix Oghină authored and facebook-github-bot-8 committed 2015-09-30 09:21:27 -07:00
1 parent ee3f7e9d21
commit 5ca5ec7688
7 files changed
+344 -76

No files matched your search

@@ -93,6 +93,14 @@ var ToolbarAndroidExample = React.createClass({
Touch the icon to reset the custom colors to the default (theme-provided) ones.
</Text>
</UIExplorerBlock>
<UIExplorerBlock title="Toolbar with remote logo & navIcon">
<ToolbarAndroid
actions={[{title: 'Bunny', icon: require('./bunny.png'), show: 'always'}]}
logo={require('./hawk.png')}
navIcon={require('./bunny.png')}
title="Bunny and Hawk"
style={styles.toolbar} />
</UIExplorerBlock>
</UIExplorerPage>
);
},