react-native-segmented-control-tab
Advanced tools
Comparing version
{ | ||
"name": "react-native-segmented-control-tab", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "A react native component with the same concept of react native's SegmantedControlIOS, Primarily built to support both IOS and Android.", | ||
@@ -5,0 +5,0 @@ "main": "SegmentedControlTab.js", |
@@ -11,8 +11,15 @@ # react-native-segmented-control-tab(for Android/iOS) 🚀 | ||
## ScreenShots | ||
[](http://postimg.org/image/492qsezb7/) | ||
[](http://postimg.org/image/3qp7ntz1r/) | ||
 | ||
 | ||
[ | ||
## Install | ||
`npm install react-native-segmented-control-tab --save` | ||
```shell | ||
npm install react-native-segmented-control-tab --save | ||
``` | ||
## Usage | ||
@@ -23,3 +30,3 @@ | ||
``` | ||
```javascript | ||
import SegmentedControlTab from 'react-native-segmented-control-tab' | ||
@@ -72,3 +79,3 @@ | ||
## Custom styling | ||
``` | ||
```javascript | ||
<SegmentedControlTab tabsContainerStyle={styles.tabsContainerStyle} | ||
@@ -75,0 +82,0 @@ tabStyle={styles.tabStyle} |
@@ -58,3 +58,3 @@ import React, { Component, PropTypes } from 'react' | ||
style={[styles.tabsContainerStyle, tabsContainerStyle]} | ||
removeClippedSubviews={true}> | ||
removeClippedSubviews={false}> | ||
{ | ||
@@ -61,0 +61,0 @@ values.map((item, index) => { |
12922
0.29%116
6.42%