react-native-tab-navigator
Advanced tools
Comparing version 0.2.16 to 0.2.17
{ | ||
"name": "react-native-tab-navigator", | ||
"version": "0.2.16", | ||
"version": "0.2.17", | ||
"description": "A tab bar that switches between scenes, written in JS for cross-platform support", | ||
@@ -5,0 +5,0 @@ "main": "TabNavigator.js", |
@@ -10,2 +10,9 @@ # TabNavigator [![Slack](http://slack.exponentjs.com/badge.svg)](http://slack.exponentjs.com) | ||
Install | ||
------- | ||
Make sure that you are in your React Native project directory and run: | ||
```npm install react-native-tab-navigator --save``` | ||
## Usage | ||
@@ -12,0 +19,0 @@ |
@@ -15,2 +15,3 @@ 'use strict'; | ||
static propTypes = { | ||
testID : PropTypes.string, | ||
title: PropTypes.string, | ||
@@ -53,2 +54,3 @@ titleStyle: Text.propTypes.style, | ||
<TouchableOpacity | ||
testID={this.props.testID} | ||
activeOpacity={this.props.hidesTabTouch ? 1.0 : 0.8} | ||
@@ -55,0 +57,0 @@ onPress={this._handlePress} |
@@ -113,2 +113,3 @@ 'use strict'; | ||
<Tab | ||
testID={item.props.testID} | ||
title={item.props.title} | ||
@@ -115,0 +116,0 @@ allowFontScaling={item.props.allowFontScaling} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14533
402
62