Home how to disable tab in tabs in native base
Reply: 0

how to disable tab in tabs in native base

user685
1#
user685 Published in April 26, 2018, 1:46 pm

This is my code for my simple project in native-base (React-native)

<container>
    <Tabs initialPage={0}>
        <Tab heading={
            <TabHeading>
                <Text/>
            </TabHeading>
        }>
            <FirstScreen>
        </Tab>
        <Tab heading={
            <TabHeading>
                <Text/>
            </TabHeading>
        }>
            <SecondScreen>
        </Tab>
    </Tabs>

</container>

How can I disable the tab for the second screen? disable means, still viewable but unclickable. Thanks!

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.424107 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO