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

ios not show component #188

Open
max-end opened this issue Feb 18, 2019 · 0 comments
Open

ios not show component #188

max-end opened this issue Feb 18, 2019 · 0 comments

Comments

@max-end
Copy link

max-end commented Feb 18, 2019

 <View>
                <TopBar/>
                <TabNavigator style={style.tabNavigator}>
                    <TabNavigator.Item
                        title="Home"
                        selected={this.state.select === "home"}
                        renderIcon={() => <Icon name={"qq"} size={26}/>}
                        renderSelectedIcon={() => <Icon name={"qq"} size={26} color={"blue"}/>}
                        badgeText="1"
                        onPress={() => {
                            this.setState({
                                select: "home"
                            })
                        }}
                    >
                        <Text>
                            12
                        </Text>
                    </TabNavigator.Item>
                    <TabNavigator.Item
                        selected={this.state.select === "user"}
                        title={"My"}
                        renderIcon={() => <Icon name={"qq"} size={26}/>}
                        renderSelectedIcon={() => <Icon name={"qq"} size={26} color={"blue"}/>}
                        badgeText="1"
                        onPress={() => {
                            this.setState({
                                select: "user"
                            })
                        }}
                    >
                    </TabNavigator.Item>
                </TabNavigator>
            </View>

page not show Text

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