mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-07 22:42:13 +08:00
add remote image support to toolbar
Differential Revision: D2493627
This commit is contained in:
committed by
facebook-github-bot-8
parent
ee3f7e9d21
commit
5ca5ec7688
@@ -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>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user