Socket
Socket
Sign inDemoInstall

react-native-tab-navigator

Package Overview
Dependencies
1
Maintainers
2
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.13 to 0.2.14

2

package.json
{
"name": "react-native-tab-navigator",
"version": "0.2.13",
"version": "0.2.14",
"description": "A tab bar that switches between scenes, written in JS for cross-platform support",

@@ -5,0 +5,0 @@ "main": "TabNavigator.js",

@@ -12,3 +12,11 @@ # TabNavigator [![Slack](http://slack.exponentjs.com/badge.svg)](http://slack.exponentjs.com)

Import TabNavigator as a JavaScript module:
```js
import TabNavigator from 'react-native-tab-navigator';
```
This is an example of how to use the component and some of the commonly used props that it supports:
```js
<TabNavigator>

@@ -15,0 +23,0 @@ <TabNavigator.Item

@@ -19,3 +19,4 @@ 'use strict';

onPress: PropTypes.func,
hidesTabTouch: PropTypes.bool
hidesTabTouch: PropTypes.bool,
allowFontScaling: PropTypes.bool
};

@@ -37,2 +38,3 @@

numberOfLines={1}
allowFontScaling={!!this.props.allowFontScaling}
style={[styles.title, this.props.titleStyle]}>

@@ -39,0 +41,0 @@ {title}

@@ -114,2 +114,3 @@ 'use strict';

title={item.props.title}
allowFontScaling={item.props.allowFontScaling}
titleStyle={[

@@ -116,0 +117,0 @@ item.props.titleStyle,

@@ -20,2 +20,3 @@ 'use strict';

onPress: PropTypes.func,
allowFontScaling: PropTypes.bool
};

@@ -22,0 +23,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc