React-native-router-flux: Tab bar not showing on Android

Created on 28 Nov 2016  路  2Comments  路  Source: aksonov/react-native-router-flux

Version

Tell us which versions you are using:

  • react-native-router-flux v3.37.0
  • react-native v0.38

Expected behaviour

Show tabbar

Actual behaviour

No tabbar on android emulator

Steps to reproduce

Tried this
```



and this








```

Most helpful comment

Got it, we need icon={TabIcon}

All 2 comments

Got it, we need icon={TabIcon}

For anybody else who comes afterwards, here's how TabIcon is defined in the demo:

class TabIcon extends React.Component {
    render(){
        return (
            <Text style={{color: this.props.selected ? 'red' :'black'}}>{this.props.title}</Text>
        );
    }
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

sreejithr picture sreejithr  路  3Comments

moaxaca picture moaxaca  路  3Comments

tonypeng picture tonypeng  路  3Comments

jgibbons picture jgibbons  路  3Comments

GCour picture GCour  路  3Comments