Skip to content

Commit 97950cd

Browse files
committed
Updates TabBarExample with new Ionicon names.
1 parent db9974b commit 97950cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Examples/TabBarExample/index.ios.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ const styles = StyleSheet.create({
4040

4141
class ColoredView extends Component {
4242
componentWillMount() {
43-
Icon.getImageSource('android-arrow-back', 30).then((source) => this.setState({ backIcon: source }));
43+
Icon.getImageSource('md-arrow-back', 30).then((source) => this.setState({ backIcon: source }));
4444
}
4545

4646
_navigateToSubview() {
@@ -76,7 +76,7 @@ class TabBarExample extends Component {
7676

7777
componentWillMount() {
7878
// https://github.com/facebook/react-native/issues/1403 prevents this to work for initial load
79-
Icon.getImageSource('ios-gear', 30).then((source) => this.setState({ gearIcon: source }));
79+
Icon.getImageSource('ios-settings', 30).then((source) => this.setState({ gearIcon: source }));
8080
}
8181

8282
_renderContent(color, pageText) {
@@ -140,8 +140,8 @@ class TabBarExample extends Component {
140140
</Icon.TabBarItemIOS>
141141
<Icon.TabBarItemIOS
142142
title="Settings"
143-
iconName="ios-gear-outline"
144-
selectedIconName="ios-gear"
143+
iconName="ios-settings-outline"
144+
selectedIconName="ios-settings"
145145
selected={this.state.selectedTab === 'settings'}
146146
onPress={() => {
147147
this.setState({

0 commit comments

Comments
 (0)