New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-simplest-tab-navigator

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-simplest-tab-navigator

The simplest tab navigator

0.0.7
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

react-native-simplest-tab-navigator

property tabBarHeight was required

usage:


<TabNavigator tabBarHeight={55}>
  <TabNavigator.Item
    selected={ this.state.selectedIndex === 0 }
    view={ leftView }
    onPress={ () => this.setState({selectedIndex: 0}) }
  >
    <Text>left</Text>
  </TabNavigator.Item>

  <TabNavigator.Item
    selected={ this.state.selectedIndex === 1 }
    view={ rightView }
    onPress={ () => this.setState({selectedIndex: 1}) }
  >
    <Text>right</Text>
  </TabNavigator.Item>
</TabNavigator>

Keywords

react-native

FAQs

Package last updated on 26 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts