Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feather icons are not showing properly #158

Open
rshaikhcornerstone opened this issue May 17, 2019 · 0 comments
Open

Feather icons are not showing properly #158

rshaikhcornerstone opened this issue May 17, 2019 · 0 comments

Comments

@rshaikhcornerstone
Copy link

I am using feather icons for footer menu, here is what i can see while apply icons
Screenshot from 2019-05-17 14-16-21

Here is my code which i am using.

                        <FooterTab style={styles.footertabstyle} >
                            <Button vertical  active={this.state.selected === 1} onPress={() => this.props.navigation.navigate("Journal")}>
                                <Icon type="Feather" name="file" style={[styles.blacktext, this.state.selected === 1 ? styles.activemenu : styles.blacktext]} />
                                <Text  style={[styles.blacktext, this.state.selected ===1 ? styles.activemenu : styles.blacktext]}>Apps</Text>
                            </Button>
                            <Button vertical  active={this.state.selected === 2} onPress={() => this.props.navigation.navigate("Todo")}>
                                <Icon name="check-square" type="Feather" style={[styles.blacktext, this.state.selected ===2 ? styles.activemenu : styles.blacktext]}/>
                                <Text style={[styles.blacktext, this.state.selected ===2 ? styles.activemenu : styles.blacktext]}>To-Do</Text>
                            </Button>

                            <Button vertical  active={this.state.selected === 3} onPress={() => this.props.navigation.navigate("Addjournal")}>
                                <Icon name="plus-square" type="Feather" style={[styles.blacktext, this.state.selected ===3 ? styles.activemenu : styles.blacktext]} />
                                <Text  style={[styles.blacktext, this.state.selected ===3 ? styles.activemenu : styles.blacktext]}>Add</Text>
                            </Button>
                            <Button vertical active={this.state.selected === 4} onPress={() => this.props.navigation.navigate("Dashboard")}>
                                <Icon name="pie-chart" type="Feather" style={[styles.blacktext, this.state.selected ===4 ? styles.activemenu : styles.blacktext]}/>
                                <Text  style={[styles.blacktext, this.state.selected ===4 ? styles.activemenu : styles.blacktext]}>Dashboard</Text>
                            </Button>
                            <Button vertical active={this.state.selected === 5} onPress={() => this.props.navigation.navigate("Settings")}>
                                <Icon name="settings" type="Feather"  style={[styles.blacktext, this.state.selected ===5 ? styles.activemenu : styles.blacktext]}/>
                                <Text style={[styles.blacktext, this.state.selected ===5 ? styles.activemenu : styles.blacktext]}>Settings</Text>
                            </Button>
                        </FooterTab>
                </Footer>

It should be showing this.

Screenshot from 2019-05-17 14-18-45

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant